Merge "Explicitly catch Exception"
This commit is contained in:
commit
c9796fc86f
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue