mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-24 19:14:09 +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:
|
||||
self.log.warning(_("SedRegex error: %s"), e)
|
||||
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
|
||||
|
||||
next(iterable)
|
||||
|
Loading…
Reference in New Issue
Block a user