mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-27 17:42:04 +08:00
manager: clean exit on ctrl-c
old-commit-hash: 3918039e293c1784cecc49cca41bc1907f23f146
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user