Skip to content

Commit

Permalink
Merge pull request #1650 from Shopify/seb-heartbeat-error
Browse files Browse the repository at this point in the history
Return the response error in heartbeatLoop
  • Loading branch information
lavoiesl committed Mar 23, 2020
2 parents 18d3a27 + a74c07e commit af1423a
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 @@ -760,7 +760,7 @@ func (s *consumerGroupSession) heartbeatLoop() {
case ErrRebalanceInProgress, ErrUnknownMemberId, ErrIllegalGeneration:
return
default:
s.parent.handleError(err, "", -1)
s.parent.handleError(resp.Err, "", -1)
return
}

Expand Down

0 comments on commit af1423a

Please sign in to comment.