Skip to content

Commit

Permalink
Merge branch 'master' into feature/SASL-Extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
wbarnha authored Mar 17, 2024
2 parents 82fae7a + eb6fd9b commit 035af5b
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 @@ -680,7 +680,7 @@ def close(self, error=None):
with self._lock:
if self.state is ConnectionStates.DISCONNECTED:
return
log.info('%s: Closing connection. %s', self, error or '')
log.log(logging.ERROR if error else logging.INFO, '%s: Closing connection. %s', self, error or '')
self._update_reconnect_backoff()
self._sasl_auth_future = None
self._protocol = KafkaProtocol(
Expand Down

0 comments on commit 035af5b

Please sign in to comment.