Skip to content

Commit

Permalink
Update kafka/sasl/gssapi.py
Browse files Browse the repository at this point in the history
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
  • Loading branch information
wbarnha and code-review-doctor[bot] authored Mar 18, 2024
1 parent 8d61252 commit 21cdb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka/sasl/gssapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def try_authenticate(conn, future):

except (ConnectionError, TimeoutError) as e:
log.exception("%s: Error receiving reply from server", conn)
err = Errors.KafkaConnectionError("%s: %s" % (conn, e))
err = Errors.KafkaConnectionError(f"{conn}: {e}")
close = True
except Exception as e:
err = e
Expand Down

0 comments on commit 21cdb6b

Please sign in to comment.