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: try:
while world.ircs: while world.ircs:
drivers.run() drivers.run()
log.info('No more Irc objects, exiting.')
except (SystemExit, KeyboardInterrupt): except (SystemExit, KeyboardInterrupt):
log.info('Exiting due to Ctrl-C.')
raise SystemExit, 'Goodbye!' raise SystemExit, 'Goodbye!'
except: except:
log.exception('Exception raised out of drivers.run:') log.exception('Exception raised out of drivers.run:')