Re-raise exceptions instead of sys.exit

Test: th
Change-Id: I3ac343b51eeeaa948712be81b640122f9981137d
This commit is contained in:
Kelvin Zhang 2021-04-07 14:56:09 -04:00
parent 55e6511331
commit 6c17ed3185
1 changed files with 1 additions and 1 deletions

View File

@ -1383,6 +1383,6 @@ if __name__ == '__main__':
main(sys.argv[1:])
except common.ExternalError as e:
print("\n ERROR: %s\n" % (e,))
sys.exit(1)
raise
finally:
common.Cleanup()