summaryrefslogtreecommitdiffstats
path: root/module/ThreadManager.py
diff options
context:
space:
mode:
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()