summaryrefslogtreecommitdiffstats
path: root/module/HookManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-02 11:23:08 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-02 11:23:08 +0100
commit84402b1194e99327c75c8762f4754802ca140e6a (patch)
tree2281e553b6ba2c3523cd23add01d2abf28a9036b /module/HookManager.py
parentmegaupload decode file info, megaupload/depositfiles folders (diff)
downloadpyload-84402b1194e99327c75c8762f4754802ca140e6a.tar.xz
closed #441
Diffstat (limited to 'module/HookManager.py')
-rw-r--r--module/HookManager.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/HookManager.py b/module/HookManager.py
index 1ecaae1ac..16f692d76 100644
--- a/module/HookManager.py
+++ b/module/HookManager.py
@@ -308,6 +308,8 @@ class HookManager:
try:
f(*args)
except Exception, e:
- self.log.debug("Error calling event handler %s: %s, %s, %s"
+ self.log.warning("Error calling event handler %s: %s, %s, %s"
% (event, f, args, str(e)))
+ if self.core.debug:
+ traceback.print_exc()