8000 fix(knex): Adds Error Handler to knex _update and _patch function by jamesvillarrubia · Pull Request #3371 · feathersjs/feathers · GitHub
[go: up one dir, main page]

Skip to content

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

Merged
8000 daffl merged 1 commit intofeathersjs:dovefrom
jamesvillarrubia:patch-2
Jan 5, 2024
Merged

fix(knex): Adds Error Handler to knex _update and _patch function#3371
daffl merged 1 commit intofeathersjs:dovefrom
jamesvillarrubia:patch-2

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 daffl merged commit 210f103 into feathersjs:dove Jan 5, 2024
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.

2 participants

0