Skip to content

Commit

Permalink
Try failing with a sys.exit(1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernard Szabo committed Dec 6, 2024
1 parent db134ea commit e6c4af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tubular/scripts/dd_synthetic_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def run_synthetic_tests(enable_automated_rollbacks, slack_notification_channel):
print("An error occurred:", str(e))
exit()

return 0
sys.exit(1)

if __name__ == "__main__":
run_synthetic_tests(False, None) # pylint: disable=no-value-for-parameter

0 comments on commit e6c4af4

Please sign in to comment.