Don't crash hard on P2P daemon errors during the initial connection
This commit is contained in:
parent
73a8456d67
commit
5152c42c8e
|
@ -226,8 +226,9 @@ else:
|
|||
peer.wasDialed = true
|
||||
await initializeConnection(peer)
|
||||
connected = true
|
||||
except PeerDisconnected:
|
||||
error "Failed to connect to bootstrap node", node = bootstrapNode
|
||||
except CatchableError as err:
|
||||
error "Failed to connect to bootstrap node",
|
||||
node = bootstrapNode, err = err.msg
|
||||
|
||||
if bootstrapNodes.len > 0 and connected == false:
|
||||
fatal "Failed to connect to any bootstrap node. Quitting."
|
||||
|
|
Loading…
Reference in New Issue