Commit 19725b59 authored by Frank's avatar Frank Committed by GitHub

chore: error log info (#2003)

parent 1e58ecfc
......@@ -602,11 +602,6 @@ func (k *Kad) connectBootNodes(ctx context.Context) {
k.metrics.TotalBootNodesConnectionAttempts.Inc()
if err != nil {
if errors.Is(err, p2p.ErrDialLightNode) {
k.logger.Debugf("connect fail %s: %v", addr, err)
k.logger.Warningf("connect to bootnode %s", addr)
return false, err
}
if !errors.Is(err, p2p.ErrAlreadyConnected) {
k.logger.Debugf("connect fail %s: %v", addr, err)
k.logger.Warningf("connect to bootnode %s", addr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment