Adds unhandled exception when not bneing able to connect to bitcoind

This commit is contained in:
Sergi Delgado Segura
2020-03-18 18:13:33 +01:00
parent f5c7f23083
commit 6f8af947ae

View File

@@ -37,7 +37,7 @@ def can_connect_to_bitcoind():
try: try:
bitcoin_cli().help() bitcoin_cli().help()
except (timeout, ConnectionRefusedError, JSONRPCException, HTTPException): except (timeout, ConnectionRefusedError, JSONRPCException, HTTPException, OSError):
can_connect = False can_connect = False
return can_connect return can_connect