summaryrefslogtreecommitdiffstats
path: root/module/HookManager.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-05-07 22:29:18 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-05-07 22:29:18 +0200
commitf746a0d9afb1fa12aad285d9363986a85b1fe6d4 (patch)
treec9910a09ecfc13d2d986cc40211ed2e6600087db /module/HookManager.py
parentfixes (diff)
downloadpyload-f746a0d9afb1fa12aad285d9363986a85b1fe6d4.tar.xz
hook fix
Diffstat (limited to 'module/HookManager.py')
-rw-r--r--module/HookManager.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/HookManager.py b/module/HookManager.py
index e4cea0757..f5835bce0 100644
--- a/module/HookManager.py
+++ b/module/HookManager.py
@@ -19,6 +19,7 @@
"""
import logging
+import traceback
from threading import Lock
from module.XMLConfigParser import XMLConfigParser
@@ -45,6 +46,8 @@ class HookManager():
plugins.append(plugin)
except:
self.logger.warning(_("Failed activating %(name)s") % {"name":plugin.__name__})
+ if self.core.config['general']['debug_mode']:
+ traceback.print_exc()
self.plugins = plugins
self.lock.release()