summaryrefslogtreecommitdiffstats
path: root/module/HookManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/HookManager.py')
-rw-r--r--module/HookManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/HookManager.py b/module/HookManager.py
index d0ceb89b2..51bc706ca 100644
--- a/module/HookManager.py
+++ b/module/HookManager.py
@@ -63,7 +63,7 @@ class HookManager:
func = getattr(hook, f)
return func(*args)
except Exception, e:
- plugin.logError(_("Error executing %s" % event), e)
+ hook.logError(_("Error when executing %s" % f), e)
if self.core.debug:
print_exc()