Skip to content

Commit

Permalink
workflow: Fix error handling of workflow steps
Browse files Browse the repository at this point in the history
  • Loading branch information
tontinton committed Dec 6, 2024
1 parent ef47815 commit 1b86bf9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/workflow/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ impl Workflow {
}
result?;
}
maybe_result = handles.next() => {
if let Some(result) = maybe_result {
if let Err(e) = result {
maybe_json_result = handles.next() => {
if let Some(join_result) = maybe_json_result {
if let Err(e) = join_result? {
for handle in handles {
handle.abort();
}
Expand Down

0 comments on commit 1b86bf9

Please sign in to comment.