You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 18, 2020. It is now read-only.
I'm using the development branch and cannot log the error message on failed .query calls because the error message is malformed.
Example:
{ [Error: [Microsoft][SQL Server Native Client 10.0][SQL Server]Violation of PRIMARY KEY constraint 'PK_Foo'. Cannot insert duplicate key in object 'dbo.Foo'.] sqlstate: '23000', code: 2627 }
sqlstate and code are retrievable as valid object properties, but the error message is not assigned to a property nor quoted to be a string, making it irretrievable/unusable.
To reproduce: using development branch, submit a .query that fails, then view err parameter in callback.