fixup error
Some checks failed
coverage / build (push) Has been cancelled
test / test (push) Has been cancelled
sync / sync (push) Successful in 11s

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2025-12-02 21:46:03 +03:00
parent d000ac6843
commit fe5d474f36

View File

@@ -123,7 +123,7 @@ func (s *Subscriber) poll(ctx context.Context) {
c := s.consumers[tps]
s.mu.Unlock()
if c != nil {
c.recs <- newErrorFetchTopicPartition(kgo.ErrClientClosed, t, p)
c.recs <- newErrorFetchTopicPartition(err, t, p)
}
})