Skip to content

Missing error information when database connection fails #8

@david-pfx

Description

@david-pfx

This code at database.js:238 throws an undefined error if the connection fails.

pool.connect(function(err, client, done) {
client.query(sql, function(err, data) {

It should instead display the contents of the err variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions