From 6f8af947ae8e9f055ff6be4d501dc390f80a5e24 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Wed, 18 Mar 2020 18:13:33 +0100 Subject: [PATCH] Adds unhandled exception when not bneing able to connect to bitcoind --- teos/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teos/tools.py b/teos/tools.py index d10d63c..53b85cc 100644 --- a/teos/tools.py +++ b/teos/tools.py @@ -37,7 +37,7 @@ def can_connect_to_bitcoind(): try: bitcoin_cli().help() - except (timeout, ConnectionRefusedError, JSONRPCException, HTTPException): + except (timeout, ConnectionRefusedError, JSONRPCException, HTTPException, OSError): can_connect = False return can_connect