mirror of https://github.com/1okko/openpilot.git
manager: clean exit on ctrl-c
This commit is contained in:
parent
1da08460cb
commit
3918039e29
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue