Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dpkp committed Mar 30, 2019
1 parent d36ec96 commit fb75f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka/conn.py
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ def _send(self, request, blocking=True):
with self._lock:
if self.state not in (ConnectionStates.AUTHENTICATING,
ConnectionStates.CONNECTED):
return future.failure(Errors.NodeNotReady(str(self)))
return future.failure(Errors.NodeNotReadyError(str(self)))

correlation_id = self._protocol.send_request(request)

Expand Down

0 comments on commit fb75f42

Please sign in to comment.