diff options
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r-- | module/PluginThread.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py index ec4b3108e..c9f353dea 100644 --- a/module/PluginThread.py +++ b/module/PluginThread.py @@ -235,7 +235,8 @@ class DownloadThread(PluginThread): continue else: - print "pycurl error", code, msg + pyfile.setStatus("failed") + self.m.log.error("pycurl error %s: %s" (code, msg)) if self.m.core.debug: print_exc() self.writeDebugReport(pyfile) @@ -332,6 +333,10 @@ class DecrypterThread(PluginThread): return + except Retry: + + self.m.log.info(_("Retrying %s") % self.active.name) + self.active.plugin.preprocessing(self) except Exception, e: @@ -426,4 +431,4 @@ class InfoThread(PluginThread): self.m.core.files.save() except Exception, e: self.m.core.log.debug("Info Fetching for %s failed | %s" % (pluginname,str) ) -
\ No newline at end of file + |