Log socket or xmlrpc errors that cause the ui to disconnect from the
core
This commit is contained in:
parent
90637921ee
commit
d5f2a4d25f
|
@ -100,6 +100,7 @@ class CoreProxy(gobject.GObject):
|
|||
except:
|
||||
pass
|
||||
except (socket.error, xmlrpclib.ProtocolError), e:
|
||||
log.error("Socket or XMLRPC error: %s", e)
|
||||
self.set_core_uri(None)
|
||||
except (deluge.xmlrpclib.Fault, Exception), e:
|
||||
#self.set_core_uri(None) , disabled : there are many reasons for an exception ; not just an invalid core.
|
||||
|
|
Loading…
Reference in New Issue