Skip to content

Commit

Permalink
Merge pull request #1332 from forsaken628/patch-1
Browse files Browse the repository at this point in the history
fixed handle cleanup error
  • Loading branch information
bai authored Apr 2, 2019
2 parents 01b0ef0 + b4d38af commit 6e69750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ func (s *consumerGroupSession) release(withCleanup bool) (err error) {
s.releaseOnce.Do(func() {
if withCleanup {
if e := s.handler.Cleanup(s); e != nil {
s.parent.handleError(err, "", -1)
s.parent.handleError(e, "", -1)
err = e
}
}
Expand Down

0 comments on commit 6e69750

Please sign in to comment.