mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-14 09:02:08 +08:00
@@ -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