mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +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:
|
||||
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…
Add table
Reference in a new issue