Skip to content

Commit f4cf0dd

Browse files
committed
include error_message
1 parent d5faba5 commit f4cf0dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/conn.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ def _recv_sasl_authenticate(self):
743743
if error_type is not Errors.NoError:
744744
log.error("%s: SaslAuthenticate error: %s (%s)",
745745
self, error_type.__name__, response.error_message)
746-
self.close(error=error_type())
746+
self.close(error=error_type(response.error_message))
747747
return
748748
return response.auth_bytes
749749
else:

0 commit comments

Comments
 (0)