[CONJS-246] pool not listening to 'error' event might exit application on error Created: 2023-02-28 Updated: 2023-03-01 Resolved: 2023-02-28 |
|
| Status: | Closed |
| Project: | MariaDB Connector/node.js |
| Component/s: | pool |
| Affects Version/s: | 3.0.2, 3.0.0, 3.0.1, 3.1.0 |
| Fix Version/s: | 3.1.1 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
following discussion on https://github.com/mariadb-corporation/mariadb-connector-nodejs/issues/180 In 3.x version, pool that doesn't have a listener on 'error' event will exit application. as a workaround, adding code
solve the problem. |