mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Catch possible exception on shutdown.
This commit is contained in:
parent
3103a69754
commit
28f0a0b9f8
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class CoreProxy(gobject.GObject):
|
||||||
callback(ret)
|
callback(ret)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
except socket.error, e:
|
except (socket.error, xmlrpc.ProtocolError), e:
|
||||||
log.warning("Could not contact daemon: %s", e)
|
log.warning("Could not contact daemon: %s", e)
|
||||||
self.set_core_uri(None)
|
self.set_core_uri(None)
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue