From 6e68d9b81ab2ff315360f389c9647493783d3dab Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Sun, 14 Jul 2024 05:05:39 +0300 Subject: [PATCH] More debug logging in main.bootstrap_from_dns() --- minode/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/minode/main.py b/minode/main.py index 10edcf2..f3454c0 100644 --- a/minode/main.py +++ b/minode/main.py @@ -112,7 +112,8 @@ def bootstrap_from_dns(): addr = item[4][0] socket.inet_pton(item[0], addr) except (TypeError, socket.error): - continue + logging.warning( + 'Not adding node %s:%s!', addr, port, exc_info=True) else: shared.core_nodes.add((addr, port)) except socket.gaierror: