mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-26 03:54:08 +01:00
callbacks.py: log plugin name in registryValue='text' errors
This can help with debugging to find what plugins are passing invalid things to registryValue().
This commit is contained in:
parent
3275806740
commit
6add519765
@ -1358,7 +1358,8 @@ class PluginMixin(BasePlugin, irclib.IrcCallback):
|
|||||||
if ircutils.isChannel(channel):
|
if ircutils.isChannel(channel):
|
||||||
group = group.get(channel)
|
group = group.get(channel)
|
||||||
else:
|
else:
|
||||||
self.log.debug('registryValue got channel=%r', channel)
|
self.log.debug('%s: registryValue got channel=%r', plugin,
|
||||||
|
channel)
|
||||||
if value:
|
if value:
|
||||||
return group()
|
return group()
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user