mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +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)
|
||||
except:
|
||||
pass
|
||||
except socket.error, e:
|
||||
except (socket.error, xmlrpc.ProtocolError), e:
|
||||
log.warning("Could not contact daemon: %s", e)
|
||||
self.set_core_uri(None)
|
||||
finally:
|
||||
|
|
Loading…
Add table
Reference in a new issue