commit | 6c17ed318553c0a1f266d875a6f02d6b47f10fda | [log] [tgz] |
---|---|---|
author | Kelvin Zhang <zhangkelvin@google.com> | Wed Apr 07 14:56:09 2021 -0400 |
committer | Kelvin Zhang <zhangkelvin@google.com> | Wed Apr 14 14:59:12 2021 -0400 |
tree | d69f42f10611f1ccb81680cb434d8ddaa5e41539 | |
parent | 55e651133189db2015e860fc5f2c293c6fa6f7be [diff] |
Re-raise exceptions instead of sys.exit Test: th Change-Id: I3ac343b51eeeaa948712be81b640122f9981137d
diff --git a/tools/releasetools/sign_target_files_apks.py b/tools/releasetools/sign_target_files_apks.py index 3db5559..22c6ac4 100755 --- a/tools/releasetools/sign_target_files_apks.py +++ b/tools/releasetools/sign_target_files_apks.py
@@ -1383,6 +1383,6 @@ main(sys.argv[1:]) except common.ExternalError as e: print("\n ERROR: %s\n" % (e,)) - sys.exit(1) + raise finally: common.Cleanup()