[Cryptech-Commits] [sw/libhal] 01/03: Log exit conditions

git at cryptech.is git at cryptech.is
Sun Apr 23 22:44:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch ksng
in repository sw/libhal.

commit ffe5b3ad0ace1bda0a50373b4fc30bd702a62ec7
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Sun Apr 23 18:29:03 2017 -0400

    Log exit conditions
---
 cryptech_muxd | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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")



More information about the Commits mailing list