Error in prisma results in unhandled promise rejection #3945
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
tech/typescript
Issue for tech TypeScript.
topic: error
topic: prisma-client
Milestone
When there's an invalid value provided to prisma at runtime, it will result in an error, but that error doesn't contain a useful stack trace.
Since this is an unhandled promise rejection, no error is returned and you can't catch it, which is probably the same reason for not getting a useful stacktrace about where the error originated from.
The text was updated successfully, but these errors were encountered: