trivial: log "connection to node failed" at DEBUG level (#1064)
instead of ERROR, because errors contacting other nodes in the network are entirely normal and expected, and they don't need urgent attention.
This commit is contained in:
parent
a7d3a8ded7
commit
b3713b7d92
@ -40,7 +40,7 @@ func (server *Server) Query(ctx context.Context, req *pb.QueryRequest) (*pb.Quer
|
||||
if err != nil {
|
||||
server.log.Error("could not respond to connection failed", zap.Error(err))
|
||||
}
|
||||
server.log.Error("connection to node failed", zap.Error(err), zap.String("nodeID", req.Sender.Id.String()))
|
||||
server.log.Debug("connection to node failed", zap.Error(err), zap.String("nodeID", req.Sender.Id.String()))
|
||||
}
|
||||
|
||||
err = rt.ConnectionSuccess(req.Sender)
|
||||
|
Loading…
Reference in New Issue
Block a user