mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-26 03:54:08 +01:00
SedRegex: log the exact error name instead of "SedRegex error"
From: 406d7b1790
This commit is contained in:
parent
dee2b6bdb3
commit
5370296bbf
@ -114,7 +114,7 @@ class SedRegex(callbacks.PluginRegexp):
|
|||||||
except (ValueError, re.error) as e:
|
except (ValueError, re.error) as e:
|
||||||
self.log.warning(_("SedRegex error: %s"), e)
|
self.log.warning(_("SedRegex error: %s"), e)
|
||||||
if self.registryValue('displayErrors', msg.args[0]):
|
if self.registryValue('displayErrors', msg.args[0]):
|
||||||
irc.error(_("SedRegex error: %s" % e), Raise=True)
|
irc.error('%s.%s: %s' % (e.__class__.__module__, e.__class__.__name__, e))
|
||||||
return
|
return
|
||||||
|
|
||||||
next(iterable)
|
next(iterable)
|
||||||
|
Loading…
Reference in New Issue
Block a user