diff --git a/p2p/stream/common/requestmanager/requestmanager.go b/p2p/stream/common/requestmanager/requestmanager.go index 2cac5c51d..d1671cecf 100644 --- a/p2p/stream/common/requestmanager/requestmanager.go +++ b/p2p/stream/common/requestmanager/requestmanager.go @@ -289,7 +289,7 @@ func (rm *requestManager) getNextRequest() (*request, *stream) { st, err := rm.pickAvailableStream(req) if err != nil { - rm.logger.Debug().Msg("No available streams.") + rm.logger.Debug().Err(err).Str("request", req.String()).Msg("Pick available streams.") rm.addRequestToWaitings(req, reqPriorityHigh) return nil, nil }