Warn on socket.gaierror in main.bootstrap_from_dns()
This commit is contained in:
parent
1776cf958d
commit
c411d2f28d
|
@ -116,7 +116,8 @@ def bootstrap_from_dns():
|
||||||
else:
|
else:
|
||||||
shared.core_nodes.add((addr, port))
|
shared.core_nodes.add((addr, port))
|
||||||
except socket.gaierror:
|
except socket.gaierror:
|
||||||
pass
|
logging.warning(
|
||||||
|
'Failed to resolve the seed for port %s', port, exc_info=True)
|
||||||
except Exception:
|
except Exception:
|
||||||
logging.info('Error during DNS bootstrap', exc_info=True)
|
logging.info('Error during DNS bootstrap', exc_info=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user