Skip to content

Commit

Permalink
fix the server mode log in handleNewMessage by changing it to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
GheisMohammadi committed Aug 10, 2023
1 parent fa4953c commit 3e31bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dht_net.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (dht *IpfsDHT) handleNewMessage(s network.Stream) bool {

for {
if dht.getMode() != modeServer {
logger.Errorf("ignoring incoming dht message while not in server mode")
logger.Debugf("ignoring incoming dht message while not in server mode")

Check warning on line 47 in dht_net.go

View check run for this annotation

Codecov / codecov/patch

dht_net.go#L47

Added line #L47 was not covered by tests
return false
}

Expand Down

0 comments on commit 3e31bcd

Please sign in to comment.