From 6add5197652dd3aec161589a7a885ccfeb030b4a Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 5 Apr 2015 13:42:03 -0700 Subject: [PATCH] callbacks.py: log plugin name in registryValue='text' errors This can help with debugging to find what plugins are passing invalid things to registryValue(). --- src/callbacks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/callbacks.py b/src/callbacks.py index 6a93744e4..708229df1 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -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: