-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No error emitted on failed connection #513
Comments
Thanks for reporting. |
About the deprecated createSecurePair, there is a open issue for that - #135. Need someone inspired to take it on :-) |
Thanks for the quick response -- please let me know when a new version (including the changes in #514) is published on npm. |
Stay tuned :-) |
The PR is merged. Closing the issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a SQL Server database is configured to use encrypted connections, the client must specify
encrypt: true
in the tedious connection config. If the client does not specifyencrypt: true
, the connection to the database fails, but the connection object does not emit an error event.The connection should emit an error, so the client can handle it appropriately.
Here is sample output from a connection attempt:
Incidentally, TLS.createSecurePair is deprecated. Is there any plan to update this code?
The text was updated successfully, but these errors were encountered: