Skip to content

Commit 2b3cdc0

Browse files
committed
fixup FencedInstanceIdError str interpolation
1 parent 454ad18 commit 2b3cdc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/coordinator/consumer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def close(self, autocommit=True, timeout_ms=None):
489489

490490
def _invoke_completed_offset_commit_callbacks(self):
491491
if self._async_commit_fenced:
492-
raise Errors.FencedInstanceIdError("Got fenced exception for group_instance_id %s", self.group_instance_id)
492+
raise Errors.FencedInstanceIdError("Got fenced exception for group_instance_id %s" % (self.group_instance_id,))
493493
while self.completed_offset_commits:
494494
callback, offsets, res_or_exc = self.completed_offset_commits.popleft()
495495
callback(offsets, res_or_exc)

0 commit comments

Comments
 (0)