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

fix(knex): Adds Error Handler to knex _update and _patch function #3371

Merged
merged 1 commit into from Jan 5, 2024

Conversation

jamesvillarrubia
Copy link
Contributor

Summary

Currently Knex errors for _patch and _update bubble up without formatting and thus might reveal a lot of information about the underlying DB that is inappropriate for the end user. This makes error handling more uniform across the library.

From code commits, I could not see a reason why error catching was not added.

@jamesvillarrubia jamesvillarrubia marked this pull request as draft December 19, 2023 22:37
@jamesvillarrubia jamesvillarrubia marked this pull request as ready for review December 19, 2023 23:01
@daffl daffl changed the title Adds Error Handler to knex _update and _patch function fix(knex): Adds Error Handler to knex _update and _patch function Jan 5, 2024
@daffl daffl merged commit 210f103 into feathersjs:dove Jan 5, 2024
0 of 2 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants