Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prisma Client error 'PrismaClientUnknownRequestError' is not handled and results in an error of undefined #11

Closed
NLaza opened this issue Jul 4, 2022 · 1 comment

Comments

@NLaza
Copy link

NLaza commented Jul 4, 2022

The error handler is not handling the error PrismaClientUnknownRequestError. This causes the variable feathersError in the error handler to remain undefined, because no default error is set. Because of the undefined error the error cannot be processed correctly by feathers.

The error can be reproduced by, for example, sending a query that contains an integer value that is too large.

Module versions: 0.5.8

NodeJS version: 16.15.1

ps73 added a commit that referenced this issue Aug 4, 2022
@ps73
Copy link
Owner

ps73 commented Aug 4, 2022

Fixed in 0.6.0

@ps73 ps73 closed this as completed Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants