Explicitly catch Exception
This allows non-Exceptions like KeyboardInterrupt, etc, to be ignored and raised naturally. Change-Id: I58b3d46d90d7a98891d0afb481da4df60dd9ce62
This commit is contained in:
parent
d58d5456c7
commit
1299a815f5
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue