diff options
Diffstat (limited to 'kafka/client_async.py')
-rw-r--r-- | kafka/client_async.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/client_async.py b/kafka/client_async.py index 844d3b3..25ef29f 100644 --- a/kafka/client_async.py +++ b/kafka/client_async.py @@ -633,7 +633,7 @@ class KafkaClient(object): # If the socket flush hack did not work (which should force the # connection to close and fail all pending requests), then we # get a basic Request Timeout. Thisisn - if isinstance(f.exception, Errors.RequestTimeoutError): + if isinstance(f.exception, Errors.RequestTimedOutError): pass elif six.PY2: assert isinstance(f.exception.args[0], socket.error) |