Skip to content

Commit 9e099db

Browse files
committed
tools: not print stack trace when CalledProcessError
1 parent aaf53c1 commit 9e099db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/helper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,5 @@ def main():
5151
main()
5252
except KeyboardInterrupt:
5353
print()
54+
except CalledProcessError:
55+
sys.exit(1)

0 commit comments

Comments
 (0)