mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-10 18:57:57 +08:00
move log messages out of warning level
This commit is contained in:
parent
ed06488e55
commit
e186e740de
@ -54,7 +54,7 @@ func (dht *IpfsDHT) handleNewMessage(s inet.Stream) {
|
||||
|
||||
// if nil response, return it before serializing
|
||||
if rpmes == nil {
|
||||
log.Warning("Got back nil response from request.")
|
||||
log.Debug("Got back nil response from request.")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
@ -140,7 +140,7 @@ func (dht *IpfsDHT) handleFindPeer(ctx context.Context, p peer.ID, pmes *pb.Mess
|
||||
}
|
||||
|
||||
if closest == nil {
|
||||
log.Warningf("%s handleFindPeer %s: could not find anything.", dht.self, p)
|
||||
log.Infof("%s handleFindPeer %s: could not find anything.", dht.self, p)
|
||||
return resp, nil
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user