summaryrefslogtreecommitdiff
path: root/kafka/coordinator/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'kafka/coordinator/base.py')
-rw-r--r--kafka/coordinator/base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/kafka/coordinator/base.py b/kafka/coordinator/base.py
index 4f16bb0..bcd5889 100644
--- a/kafka/coordinator/base.py
+++ b/kafka/coordinator/base.py
@@ -236,6 +236,7 @@ class BaseCoordinator(object):
self.needs_join_prepare = True
self.heartbeat_task.reset()
else:
+ assert future.failed()
exception = future.exception
if isinstance(exception, (Errors.UnknownMemberIdError,
Errors.RebalanceInProgressError,