Skip to content

Commit fb75f42

Browse files
committed
typo
1 parent d36ec96 commit fb75f42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/conn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ def _send(self, request, blocking=True):
832832
with self._lock:
833833
if self.state not in (ConnectionStates.AUTHENTICATING,
834834
ConnectionStates.CONNECTED):
835-
return future.failure(Errors.NodeNotReady(str(self)))
835+
return future.failure(Errors.NodeNotReadyError(str(self)))
836836

837837
correlation_id = self._protocol.send_request(request)
838838

0 commit comments

Comments
 (0)