diff options
author | Rob Austein <sra@hactrn.net> | 2017-04-30 10:21:09 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2017-04-30 10:21:09 -0400 |
commit | a76a684fbd33c2b90a33e9c12e7536149630d6b5 (patch) | |
tree | edb512556900a5a6680dd946050e60c0ea8e1128 /cryptech_muxd | |
parent | 18c297c5f88681236aec2537f7e7f2d9b50fcd7e (diff) | |
parent | 018b238e7aac5b4a990a28f49323b821246c9f66 (diff) |
Merge branch 'ksng' into no-rtos
Diffstat (limited to 'cryptech_muxd')
-rwxr-xr-x | cryptech_muxd | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cryptech_muxd b/cryptech_muxd index 5b458a4..d28f758 100755 --- a/cryptech_muxd +++ b/cryptech_muxd @@ -437,5 +437,9 @@ def main(): if __name__ == "__main__": try: tornado.ioloop.IOLoop.current().run_sync(main) - except KeyboardInterrupt: + except (SystemExit, KeyboardInterrupt): pass + except: + logger.exception("Unhandled exception") + else: + logger.debug("Main loop exited") |