diff options
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r-- | module/PluginThread.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py index 1adf15172..35ad796b3 100644 --- a/module/PluginThread.py +++ b/module/PluginThread.py @@ -118,6 +118,9 @@ class DownloadThread(PluginThread): code, msg = e print "pycurl error", code, msg + if self.m.core.debug: + print_exc() + self.active = False pyfile.release() continue @@ -125,6 +128,7 @@ class DownloadThread(PluginThread): except Exception, e: pyfile.setStatus("failed") self.m.log.error(_("Download failed: %s | %s") % (pyfile.name, str(e))) + pyfile.error = str(e) if self.m.core.debug: print_exc() |