Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime-v2: add exceptions to ParallelExecutionException #1051

Merged
merged 12 commits into from
Dec 30, 2024

Conversation

amithkb
Copy link
Contributor

@amithkb amithkb commented Dec 18, 2024

  - try:
    - task: "throw"
      in:
        exception: "BOOM${item}"
        payload:
          key: "${item}"
    loop:
      items:
        - 1
        - 2
      mode: parallel
      parallelism: 2
    error:
      - log: ${lastError.cause.exceptions.stream().map(x -> x.cause.payload).toList()}     # prints [{key=1}, {key=2}]

@amithkb amithkb requested a review from a team December 19, 2024 07:11
@amithkb amithkb requested a review from brig December 25, 2024 02:45
@brig
Copy link
Contributor

brig commented Dec 27, 2024

added payload to parallel exception last error:
Screenshot 2024-12-27 at 13 58 07

@brig brig force-pushed the amithkb/parallel-exception branch from 99d2658 to 2da58c0 Compare December 28, 2024 00:34
brig
brig previously approved these changes Dec 29, 2024
brig
brig previously approved these changes Dec 29, 2024
@brig brig merged commit 4376458 into master Dec 30, 2024
4 checks passed
@brig brig deleted the amithkb/parallel-exception branch December 30, 2024 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants