Skip to content

Commit

Permalink
fix middleware log level
Browse files Browse the repository at this point in the history
  • Loading branch information
walldiss committed Apr 19, 2023
1 parent 8ae29dc commit c4601b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/p2p/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func RateLimitMiddleware(inner network.StreamHandler, concurrencyLimit int) netw
log.Debug("concurrency limit reached")
err := stream.Close()
if err != nil {
log.Errorw("server: closing stream", "err", err)
log.Debugw("server: closing stream", "err", err)
}
return
}
Expand Down

0 comments on commit c4601b7

Please sign in to comment.