Skip to content

Commit 6e69750

Browse files
authored
Merge pull request #1332 from forsaken628/patch-1
fixed handle cleanup error
2 parents 01b0ef0 + b4d38af commit 6e69750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consumer_group.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ func (s *consumerGroupSession) release(withCleanup bool) (err error) {
614614
s.releaseOnce.Do(func() {
615615
if withCleanup {
616616
if e := s.handler.Cleanup(s); e != nil {
617-
s.parent.handleError(err, "", -1)
617+
s.parent.handleError(e, "", -1)
618618
err = e
619619
}
620620
}

0 commit comments

Comments
 (0)