More debug logging in main.bootstrap_from_dns()
This commit is contained in:
parent
c411d2f28d
commit
6e68d9b81a
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user