Skip to content
This repository was archived by the owner on Jan 14, 2021. It is now read-only.
This repository was archived by the owner on Jan 14, 2021. It is now read-only.

Better instructions on Query Engine panic #610

@janpio

Description

@janpio

On query engine errors, you get a message like this:

...
Error in Prisma Client:
PANIC: column on null constraint violation error in
/root/.cargo/git/checkouts/quaint-9f01e008b9a89c14/a1decce/src/connector/postgres/error.rs:67:35

This is a non-recoverable error which probably happens when the Prisma Query Engine has a panic.
Please create an issue in https://github.com/prisma/prisma-client-js describing the last Prisma Client query you called.

A big improvement here would be to tell people to also try again with DEBUG=* set. That will include the query and mutation exactly how the user ran it.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions