Skip to content

Database issues cause non-descriptive process exit codes #3301

@deanpress

Description

@deanpress

Currently, the output of database issues is non-descriptive. If there's any type of issue with the database connection, you only get process.exit called with "1", pointing back to PostgresConnection.make() failing in packages/core-database-postgres/src/postgres-connection.ts.

There's no logging as to why the database connection fails, making it hard to find the source of the issue and fixing it.

A solution to database error logging during database set-up would be a great feature for developers.

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