Skip to content

uncaughtExceptions from underlying pg module should be handled and passed as errors #34

@pvencill

Description

@pvencill

I've noticed for certain classes of error (e.g. db connection string not provided; db connection failed), the module surfaces uncaughtExceptions which can only be handled by the process.on('uncaughtException') stuff from Node. Seems logical that these things could be handled and passed up as a regular error in the callback, rather than crashing the whole application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions