mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 15:08:40 +00:00
Log socket or xmlrpc errors that cause the ui to disconnect from the
core
This commit is contained in:
parent
d35de1986b
commit
f7d6dcb425
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,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…
Add table
Add a link
Reference in a new issue