[CONJS-200] Improve pool error detection Created: 2022-06-01 Updated: 2022-07-19 Resolved: 2022-06-01 |
|
| Status: | Closed |
| Project: | MariaDB Connector/node.js |
| Component/s: | API, documentation, pool |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.1 |
| Type: | Task | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Goal of this task is to provide better error handling to pool. Error message content 'Error during pool initialization' or 'Pool fails to create connection' depending on if this occurs during initialization or during pool lives. Better connection error identification use 2 ways :
Error was a common "retrieve connection from pool timeout after 10000ms" for example. Now error message will be explicit depending on the issue |