mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-04 23:53:23 +00:00
Catch possible exception on shutdown.
This commit is contained in:
parent
3103a69754
commit
28f0a0b9f8
@ -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…
x
Reference in New Issue
Block a user