summaryrefslogtreecommitdiffstats
path: root/module/ThreadManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-16 13:38:31 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-16 13:38:31 +0200
commit912a98b6d84c6eec826b0c522b77673ab1de666c (patch)
tree3c19dadffd0b941d317b35e0443fc7e0c646b714 /module/ThreadManager.py
parentpackage ui improvements (diff)
downloadpyload-912a98b6d84c6eec826b0c522b77673ab1de666c.tar.xz
reconnect fix, unrar fix
Diffstat (limited to 'module/ThreadManager.py')
-rw-r--r--module/ThreadManager.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index a482ff311..9aa3368c0 100644
--- a/module/ThreadManager.py
+++ b/module/ThreadManager.py
@@ -84,8 +84,10 @@ class ThreadManager:
#----------------------------------------------------------------------
def work(self):
"""run all task which have to be done (this is for repetivive call by core)"""
-
- self.tryReconnect()
+ try:
+ self.tryReconnect()
+ except Exception, e:
+ self.log.error(_("Reconnect Failed: %s") % str(e) )
self.checkThreadCount()
self.assignJob()