Skip to content

Commit 804786c

Browse files
committed
exit(1) if we catch an exception
1 parent 7d64c3c commit 804786c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

chipflow_lib/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,4 @@ def run(argv=sys.argv[1:]):
8181
if hasattr(args, "action"):
8282
cmd += f" {args.action}"
8383
print(f"Error while executing `{cmd}`: {e}")
84+
exit(1)

0 commit comments

Comments
 (0)