Conditional: Fix handling of exceptions.

This commit is contained in:
Valentin Lorentz 2013-08-18 17:37:42 +02:00
parent 43f1e5cd24
commit 1724d6867b

View File

@ -66,7 +66,7 @@ class Conditional(callbacks.Plugin):
try: try:
self.Proxy(irc.irc, msg, tokens) self.Proxy(irc.irc, msg, tokens)
except Exception, e: except Exception, e:
log.exception('Uncaught exception in requested function:') self.log.exception('Uncaught exception in requested function:')
@internationalizeDocstring @internationalizeDocstring
def cif(self, irc, msg, args, condition, ifcommand, elsecommand): def cif(self, irc, msg, args, condition, ifcommand, elsecommand):