diff options
-rwxr-xr-x | cryptech_muxd | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cryptech_muxd b/cryptech_muxd index 5b458a4..8e57ef8 100755 --- a/cryptech_muxd +++ b/cryptech_muxd @@ -438,4 +438,8 @@ if __name__ == "__main__": try: tornado.ioloop.IOLoop.current().run_sync(main) except KeyboardInterrupt: - pass + logger.debug("Normal SIGTERM exit") + except: + logger.exception("Unhandled exception") + else: + logger.debug("Main loop exited") |