Skip to content

Commit

Permalink
Merge pull request ipfs#15 from libp2p/feat/hander/err-to-warn
Browse files Browse the repository at this point in the history
dht: degrade 'no addresses' from error to warning
  • Loading branch information
whyrusleeping authored Oct 4, 2016
2 parents 3d95b45 + 4cfe36b commit 9106574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (dht *IpfsDHT) handleGetValue(ctx context.Context, p peer.ID, pmes *pb.Mess
for _, pi := range closerinfos {
log.Debugf("handleGetValue returning closer peer: '%s'", pi.ID)
if len(pi.Addrs) < 1 {
log.Errorf(`no addresses on peer being sent!
log.Warningf(`no addresses on peer being sent!
[local:%s]
[sending:%s]
[remote:%s]`, dht.self, pi.ID, p)
Expand Down

0 comments on commit 9106574

Please sign in to comment.