aboutsummaryrefslogtreecommitdiff
path: root/cryptech_muxd
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-04-30 10:21:09 -0400
committerRob Austein <sra@hactrn.net>2017-04-30 10:21:09 -0400
commita76a684fbd33c2b90a33e9c12e7536149630d6b5 (patch)
treeedb512556900a5a6680dd946050e60c0ea8e1128 /cryptech_muxd
parent18c297c5f88681236aec2537f7e7f2d9b50fcd7e (diff)
parent018b238e7aac5b4a990a28f49323b821246c9f66 (diff)
Merge branch 'ksng' into no-rtos
Diffstat (limited to 'cryptech_muxd')
-rwxr-xr-xcryptech_muxd6
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")