Uploaded image for project: 'MariaDB Connector/node.js'
  1. MariaDB Connector/node.js
  2. CONJS-246

pool not listening to 'error' event might exit application on error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 3.0.2, 3.0.0, 3.0.1, 3.1.0
    • 3.1.1
    • pool
    • 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

      pool.on('error', (err) => {});
      

      solve the problem.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.