Merge "Remove catch + sys.exit idiom"

This commit is contained in:
Treehugger Robot
2022-02-25 00:35:45 +00:00
committed by Gerrit Code Review
5 changed files with 0 additions and 15 deletions

View File

@@ -286,8 +286,5 @@ if __name__ == '__main__':
try:
common.CloseInheritedPipes()
main(sys.argv[1:])
except common.ExternalError:
logger.exception('\n ERROR:\n')
sys.exit(1)
finally:
common.Cleanup()