mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-18 07:48:46 +00:00
Bring Down Error To A Debug Log (#11283)
This commit is contained in:
parent
01b1f15bdf
commit
6957f0637f
@ -190,7 +190,7 @@ func (s *Service) writeBlockRangeToStream(ctx context.Context, startSlot, endSlo
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if chunkErr := s.chunkBlockWriter(stream, b); chunkErr != nil {
|
if chunkErr := s.chunkBlockWriter(stream, b); chunkErr != nil {
|
||||||
log.WithError(chunkErr).Error("Could not send a chunked response")
|
log.WithError(chunkErr).Debug("Could not send a chunked response")
|
||||||
s.writeErrorResponseToStream(responseCodeServerError, p2ptypes.ErrGeneric.Error(), stream)
|
s.writeErrorResponseToStream(responseCodeServerError, p2ptypes.ErrGeneric.Error(), stream)
|
||||||
tracing.AnnotateError(span, chunkErr)
|
tracing.AnnotateError(span, chunkErr)
|
||||||
return chunkErr
|
return chunkErr
|
||||||
|
Loading…
Reference in New Issue
Block a user