Merge pull request #1091 from GLolol/better-logging

callbacks.py: log plugin name in registryValue='text' errors
This commit is contained in:
Valentin Lorentz 2015-04-05 22:56:20 +02:00
commit 59891f9b86

View File

@ -1358,7 +1358,8 @@ class PluginMixin(BasePlugin, irclib.IrcCallback):
if ircutils.isChannel(channel):
group = group.get(channel)
else:
self.log.debug('registryValue got channel=%r', channel)
self.log.debug('%s: registryValue got channel=%r', plugin,
channel)
if value:
return group()
else: