Make synapse_port_db exit with a non-0 code if something failed
This commit is contained in:
parent
3eb15c01d9
commit
6cd11109db
|
@ -1055,3 +1055,4 @@ if __name__ == "__main__":
|
||||||
if end_error_exec_info:
|
if end_error_exec_info:
|
||||||
exc_type, exc_value, exc_traceback = end_error_exec_info
|
exc_type, exc_value, exc_traceback = end_error_exec_info
|
||||||
traceback.print_exception(exc_type, exc_value, exc_traceback)
|
traceback.print_exception(exc_type, exc_value, exc_traceback)
|
||||||
|
sys.exit(5)
|
||||||
|
|
Loading…
Reference in New Issue