Merge "Explicitly catch Exception"

This commit is contained in:
Jenkins 2016-09-09 20:28:18 +00:00 committed by Gerrit Code Review
commit c9796fc86f
1 changed files with 1 additions and 1 deletions

View File

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