mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 14:14:22 +01:00
Adds unhandled exception when not bneing able to connect to bitcoind
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user