mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-29 01:12:24 +08:00
Merge pull request #1956 from ipfs/hotfix/err-log-query
drop error log down to debug
This commit is contained in:
@ -229,7 +229,7 @@ func (r *dhtQueryRunner) queryPeer(proc process.Process, p peer.ID) {
|
|||||||
// make sure we're connected to the peer.
|
// make sure we're connected to the peer.
|
||||||
// FIXME abstract away into the network layer
|
// FIXME abstract away into the network layer
|
||||||
if conns := r.query.dht.host.Network().ConnsToPeer(p); len(conns) == 0 {
|
if conns := r.query.dht.host.Network().ConnsToPeer(p); len(conns) == 0 {
|
||||||
log.Error("not connected. dialing.")
|
log.Debug("not connected. dialing.")
|
||||||
|
|
||||||
notif.PublishQueryEvent(r.runCtx, ¬if.QueryEvent{
|
notif.PublishQueryEvent(r.runCtx, ¬if.QueryEvent{
|
||||||
Type: notif.DialingPeer,
|
Type: notif.DialingPeer,
|
||||||
|
Reference in New Issue
Block a user