diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-02 00:17:26 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-02 00:17:26 +0200 |
commit | 3355a922b7e7327da25c064c0639e80987f873e0 (patch) | |
tree | 6be0f85acc69da544149f985eb1bd40d748fd33a /module/ThreadManager.py | |
parent | tidy up wait code (diff) | |
download | pyload-3355a922b7e7327da25c064c0639e80987f873e0.tar.xz |
wupload plugin (free)
Diffstat (limited to 'module/ThreadManager.py')
-rw-r--r-- | module/ThreadManager.py | 7 |
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: |