aboutsummaryrefslogtreecommitdiff
path: root/cryptech_muxd
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-04-23 18:29:03 -0400
committerRob Austein <sra@hactrn.net>2017-04-23 18:29:03 -0400
commitffe5b3ad0ace1bda0a50373b4fc30bd702a62ec7 (patch)
treefc538d5528ffd3d637e0066079fd20dfb7b7b6c3 /cryptech_muxd
parent22a58216681df01d20cfa0a5cfc5c49d15e6c606 (diff)
Log exit conditions
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..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")