From 3355a922b7e7327da25c064c0639e80987f873e0 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 2 Jun 2011 00:17:26 +0200 Subject: wupload plugin (free) --- module/ThreadManager.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'module/ThreadManager.py') 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: -- cgit v1.2.3