Skip to content

Commit af1423a

Browse files
authored
Merge pull request #1650 from Shopify/seb-heartbeat-error
Return the response error in heartbeatLoop
2 parents 18d3a27 + a74c07e commit af1423a

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
@@ -760,7 +760,7 @@ func (s *consumerGroupSession) heartbeatLoop() {
760760
case ErrRebalanceInProgress, ErrUnknownMemberId, ErrIllegalGeneration:
761761
return
762762
default:
763-
s.parent.handleError(err, "", -1)
763+
s.parent.handleError(resp.Err, "", -1)
764764
return
765765
}
766766

0 commit comments

Comments
 (0)