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

pull/6470/head
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
1 changed files with 1 additions and 0 deletions

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)