Skip to content

Commit cb303f8

Browse files
committed
[FAB-4346] log warning upon bootstrap conn failure
This commit adds a warning log when a connection to a bootstrap peer fails Change-Id: I4b0c859ef7b4f277cd03b992a45d390459e108e9 Signed-off-by: Yacov Manevich <[email protected]>
1 parent f6abb18 commit cb303f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gossip/discovery/discovery_impl.go

+1
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ func (d *gossipDiscoveryImpl) connect2BootstrapPeers(endpoints []string) {
220220
InternalEndpoint: endpoint,
221221
}
222222
if !d.comm.Ping(peer) {
223+
d.logger.Warning("Failed connecting to bootstrap peer", endpoint)
223224
return
224225
}
225226
d.comm.SendToPeer(peer, req)

0 commit comments

Comments
 (0)