Skip to content

Commit 944883e

Browse files
authored
fix: move non-error log to warning level (#1119)
Closes #1001
1 parent 0532e1c commit 944883e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fullrt/dht.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ func (dht *FullRT) GetClosestPeers(ctx context.Context, key string) ([]peer.ID,
503503
// Recover the peer ID from the key
504504
p, ok := dht.keyToPeerMap[string(k)]
505505
if !ok {
506-
logger.Errorf("key not found in map")
506+
logger.Warnf("key not found in map")
507507
continue
508508
}
509509

0 commit comments

Comments
 (0)