Skip to content

Commit c226ee7

Browse files
vvmdougwilson
authored andcommitted
Fix typo in HANDSHAKE_NO_SSL_SUPPORT error message
closes #1534
1 parent 2aa8b6c commit c226ee7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ you spot any mistakes.
88

99
* Add `query` method to `PoolNamespace` #1256 #1505 #1506
1010
- Used as `cluster.of(...).query(...)`
11+
* Fix typo in `HANDSHAKE_NO_SSL_SUPPORT` error message #1534
1112
* Update `bignumber.js` to 2.4.0
1213
* Update `sqlstring` to 2.1.0
1314
- Accept numbers and other value types in `escapeId`

lib/protocol/sequences/Handshake.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Handshake.prototype['HandshakeInitializationPacket'] = function(packet) {
4040

4141
if (this._config.ssl) {
4242
if (!serverSSLSupport) {
43-
var err = new Error('Server does not support secure connnection');
43+
var err = new Error('Server does not support secure connection');
4444

4545
err.code = 'HANDSHAKE_NO_SSL_SUPPORT';
4646
err.fatal = true;

0 commit comments

Comments
 (0)