Browse Source

interface.run: catch more exceptions

3.3.3.1
SomberNight 6 years ago
parent
commit
ddee03d324
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/interface.py

2
electrum/interface.py

@ -152,7 +152,7 @@ class Interface(PrintError):
if not exists:
try:
ca_signed = await self.is_server_ca_signed(ca_sslc)
except (ConnectionRefusedError, socket.gaierror) as e:
except (ConnectionRefusedError, socket.gaierror, aiorpcx.socks.SOCKSFailure) as e:
self.print_error('disconnecting due to: {}'.format(e))
self.exception = e
return

Loading…
Cancel
Save