summaryrefslogtreecommitdiffstats
path: root/module/HookManager.py
diff options
context:
space:
mode:
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()