diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-12-02 11:23:08 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-12-02 11:23:08 +0100 |
commit | 84402b1194e99327c75c8762f4754802ca140e6a (patch) | |
tree | 2281e553b6ba2c3523cd23add01d2abf28a9036b /module/HookManager.py | |
parent | megaupload decode file info, megaupload/depositfiles folders (diff) | |
download | pyload-84402b1194e99327c75c8762f4754802ca140e6a.tar.xz |
closed #441
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() |