Skip to content

Commit 26a279c

Browse files
committed
Fix logging of negotiated protocol version
1 parent 94b5350 commit 26a279c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v1/internal/protocol-handshaker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default class ProtocolHandshaker {
6969
readHandshakeResponse(buffer) {
7070
const proposedVersion = buffer.readInt32();
7171
if (this._log.isDebugEnabled()) {
72-
this._log.debug(`${this} negotiated protocol version ${proposedVersion}`);
72+
this._log.debug(`${this._connection} negotiated protocol version ${proposedVersion}`);
7373
}
7474
return this._createProtocolWithVersion(proposedVersion);
7575
}

0 commit comments

Comments
 (0)