Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Nov 16, 2023
1 parent 77a5a8b commit c730453
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def _set_tasks(self, tasks):
parent_can_fail_flags.append(dep.can_fail)

# If the length of can_fail_flags == 0, then this task has no child tasks
child_task.can_fail = False if len(parent_can_fail_flags) == 0 else all(parent_can_fail_flags)
parent_task.can_fail = False if len(parent_can_fail_flags) == 0 else all(parent_can_fail_flags)
except Exception as e:
raise Exception(f"Error resolving can_fail flag for parent task '{parent_task_id}': {e}")

Expand Down

0 comments on commit c730453

Please sign in to comment.