summaryrefslogtreecommitdiffstats
path: root/module/ThreadManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-02 00:17:26 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-02 00:17:26 +0200
commit3355a922b7e7327da25c064c0639e80987f873e0 (patch)
tree6be0f85acc69da544149f985eb1bd40d748fd33a /module/ThreadManager.py
parenttidy up wait code (diff)
downloadpyload-3355a922b7e7327da25c064c0639e80987f873e0.tar.xz
wupload plugin (free)
Diffstat (limited to 'module/ThreadManager.py')
-rw-r--r--module/ThreadManager.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index 82cb9a449..a8e8b2772 100644
--- a/module/ThreadManager.py
+++ b/module/ThreadManager.py
@@ -218,8 +218,11 @@ class ThreadManager:
job.initPlugin()
except Exception, e:
self.log.critical(str(e))
- if self.core.debug:
- print_exc()
+ print_exc()
+ job.setStatus("failed")
+ job.error = str(e)
+ job.release()
+ return
if job.plugin.__type__ == "hoster":
if free: