Skip to content

Commit

Permalink
refactor: exit cleanly on error instead of printing a traceback
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrake committed Jul 12, 2022
1 parent 6fa937a commit 9d679d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phylum/init/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def main(args=None):

target_triple = args.target
if target_triple not in supported_target_triples:
raise ValueError(f"The identified target triple `{target_triple}` is not supported for release {tag_name}")
raise SystemExit(f" [!] The identified target triple `{target_triple}` is not supported for release {tag_name}")

archive_name = f"phylum-{target_triple}.zip"
minisig_name = f"{archive_name}.minisig"
Expand Down

0 comments on commit 9d679d7

Please sign in to comment.