Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
For better pool error identification, connection available / used in pool must be added to error message. This will permit better error identification.
example :
before
SqlError: (conn=-1, no: 45028, SQLState: HY000) retrieve connection from pool timeout after 200ms |
at Object.module.exports.createError (C:\temp\mariadb-connector-nodejs2\lib\misc\errors.js:57:10) |
...
|
will now be :
SqlError: (conn=-1, no: 45028, SQLState: HY000) retrieve connection from pool timeout after 200ms |
(pool connections: active=1 idle=0 limit=1) |
at Object.module.exports.createError (C:\temp\mariadb-connector-nodejs2\lib\misc\errors.js:57:10) |
...
|