Explicitly catch Exception

This allows non-Exceptions like KeyboardInterrupt, etc, to be ignored
and raised naturally.

Change-Id: I58b3d46d90d7a98891d0afb481da4df60dd9ce62
This commit is contained in:
Dolph Mathews 2015-10-12 19:26:01 +00:00
parent d58d5456c7
commit 1299a815f5
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ class StatusBot(irc.bot.SingleServerIRCBot):
return
try:
self.handle_status_command(e.target, nick, msg)
except:
except Exception:
self.log.exception("Exception handling command %s" % msg)
def handle_success_command(self, channel, nick, msg):