Skip to content

Commit

Permalink
exit 1 on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasjansson committed Sep 13, 2024
1 parent 8bc603e commit 49dccb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cog_safe_push/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def main():
run_config(config, no_push)
except CogSafePushError as e:
print("💥 " + str(e), file=sys.stderr)
sys.exit(1)


def parse_args_and_config() -> tuple[Config, bool]:
Expand Down

0 comments on commit 49dccb6

Please sign in to comment.