More debug logging in main.bootstrap_from_dns()

This commit is contained in:
Lee Miller 2024-07-14 05:05:39 +03:00
parent c411d2f28d
commit 6e68d9b81a
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -112,7 +112,8 @@ def bootstrap_from_dns():
addr = item[4][0] addr = item[4][0]
socket.inet_pton(item[0], addr) socket.inet_pton(item[0], addr)
except (TypeError, socket.error): except (TypeError, socket.error):
continue logging.warning(
'Not adding node %s:%s!', addr, port, exc_info=True)
else: else:
shared.core_nodes.add((addr, port)) shared.core_nodes.add((addr, port))
except socket.gaierror: except socket.gaierror: