manager: clean exit on ctrl-c

old-commit-hash: 3918039e293c1784cecc49cca41bc1907f23f146
This commit is contained in:
Adeeb Shihadeh
2024-01-10 19:37:10 -08:00
parent c17fc021e9
commit f5bf1a3389
+2
View File
@@ -229,6 +229,8 @@ if __name__ == "__main__":
try:
main()
except KeyboardInterrupt:
print("got CTRL-C, exiting")
except Exception:
add_file_handler(cloudlog)
cloudlog.exception("Manager failed to start")