diff options
Diffstat (limited to 'module/HookManager.py')
-rw-r--r-- | module/HookManager.py | 4 |
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() |