Skip to content

Some error messages are swallowed on failed inserts #169

@ethanpailes

Description

@ethanpailes

Since we using RETURNING id for the insert routine, if a record fails to insert correctly the error returned is "expected 1 record but got 0" which isn't always the most descriptive error message. It would be better if we could surface the underlying issue like a constraint violation or something.

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