Skip to content

Commit

Permalink
Downlevel more encoding streamer error log (#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-shim authored Aug 8, 2024
1 parent 18bfd0f commit a24d0ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions disperser/batcher/encoding_streamer.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ func (e *EncodingStreamer) Start(ctx context.Context) error {
e.logger.Warn("encoder connection reset by peer", "err", err)
} else if strings.Contains(err.Error(), "error reading from server: EOF") {
e.logger.Warn("encoder request dropped", "err", err)
} else if strings.Contains(err.Error(), "connection refused") {
e.logger.Warn("encoder connection refused", "err", err)
} else {
e.logger.Error("error processing encoded blobs", "err", err)
}
Expand Down

0 comments on commit a24d0ad

Please sign in to comment.