Skip to content

Commit 0c90e58

Browse files
Luis Garzatimm4205
authored andcommitted
fix: Fix logging format string in SSL connection debug message
1 parent 97e0f0c commit 0c90e58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redshift_connector/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ def get_calling_module() -> str:
662662
self._usock.sendall(ii_pack(8, 80877103))
663663
resp: bytes = self._usock.recv(1)
664664
if resp != b"S":
665-
_logger.debug("Server response code when attempting to establish ssl connection: $s", resp)
665+
_logger.debug("Server response code when attempting to establish ssl connection: %s", resp)
666666
raise InterfaceError("Server refuses SSL")
667667

668668
if sslmode == "verify-ca":

0 commit comments

Comments
 (0)