Make synapse_port_db exit with a non-0 code if something failed

This commit is contained in:
Brendan Abolivier 2019-12-04 17:48:23 +00:00
parent 3eb15c01d9
commit 6cd11109db
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD

View File

@ -1055,3 +1055,4 @@ if __name__ == "__main__":
if end_error_exec_info:
exc_type, exc_value, exc_traceback = end_error_exec_info
traceback.print_exception(exc_type, exc_value, exc_traceback)
sys.exit(5)