mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
interface.run: catch more exceptions
This commit is contained in:
parent
136df7e5ee
commit
ddee03d324
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class Interface(PrintError):
|
||||||
if not exists:
|
if not exists:
|
||||||
try:
|
try:
|
||||||
ca_signed = await self.is_server_ca_signed(ca_sslc)
|
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.print_error('disconnecting due to: {}'.format(e))
|
||||||
self.exception = e
|
self.exception = e
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Reference in a new issue