mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-18 22:36:51 +00:00
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:
|
except:
|
||||||
pass
|
pass
|
||||||
except (socket.error, xmlrpclib.ProtocolError), e:
|
except (socket.error, xmlrpclib.ProtocolError), e:
|
||||||
|
log.error("Socket or XMLRPC error: %s", e)
|
||||||
self.set_core_uri(None)
|
self.set_core_uri(None)
|
||||||
except (deluge.xmlrpclib.Fault, Exception), e:
|
except (deluge.xmlrpclib.Fault, Exception), e:
|
||||||
#self.set_core_uri(None) , disabled : there are many reasons for an exception ; not just an invalid core.
|
#self.set_core_uri(None) , disabled : there are many reasons for an exception ; not just an invalid core.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user