From 912a98b6d84c6eec826b0c522b77673ab1de666c Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 16 Sep 2010 13:38:31 +0200 Subject: reconnect fix, unrar fix --- module/ThreadManager.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'module/ThreadManager.py') 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() -- cgit v1.2.3