From a24d0ad328c0c69a4db06d2592d43d4df3cc4943 Mon Sep 17 00:00:00 2001 From: Ian Shim <100327837+ian-shim@users.noreply.github.com> Date: Wed, 7 Aug 2024 17:32:14 -0700 Subject: [PATCH] Downlevel more encoding streamer error log (#689) --- disperser/batcher/encoding_streamer.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/disperser/batcher/encoding_streamer.go b/disperser/batcher/encoding_streamer.go index 7f22a7d6d0..3b22a3f829 100644 --- a/disperser/batcher/encoding_streamer.go +++ b/disperser/batcher/encoding_streamer.go @@ -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) }