From c411d2f28d438ecea7dbdf848837973572960414 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Sun, 14 Jul 2024 04:57:30 +0300 Subject: [PATCH] Warn on socket.gaierror 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 0d7db9c..10edcf2 100644 --- a/minode/main.py +++ b/minode/main.py @@ -116,7 +116,8 @@ def bootstrap_from_dns(): else: shared.core_nodes.add((addr, port)) except socket.gaierror: - pass + logging.warning( + 'Failed to resolve the seed for port %s', port, exc_info=True) except Exception: logging.info('Error during DNS bootstrap', exc_info=True)