Added some extra logging.

This commit is contained in:
Jeremy Fincher 2004-01-02 22:02:33 +00:00
parent 19484027f8
commit ed5f89bce1

View File

@ -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:')