From ed5f89bce1890607414889d320d913d597a7d33f Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 2 Jan 2004 22:02:33 +0000 Subject: [PATCH] Added some extra logging. --- src/template.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/template.py b/src/template.py index ae87f25aa..f83dc5293 100755 --- a/src/template.py +++ b/src/template.py @@ -91,7 +91,9 @@ def main(): try: while world.ircs: drivers.run() + log.info('No more Irc objects, exiting.') except (SystemExit, KeyboardInterrupt): + log.info('Exiting due to Ctrl-C.') raise SystemExit, 'Goodbye!' except: log.exception('Exception raised out of drivers.run:')