diff --git a/packages/knex/src/adapter.ts b/packages/knex/src/adapter.ts index 7a16c00bd5..6f3ed7d239 100644 --- a/packages/knex/src/adapter.ts +++ b/packages/knex/src/adapter.ts @@ -322,7 +322,7 @@ export class KnexAdapter< return result }, {}) - await this.db(params).update(newObject, '*', { includeTriggerModifications: true }).where(this.id, id) + await this.db(params).update(newObject, '*', { includeTriggerModifications: true }).where(this.id, id).catch(errorHandler) return this._get(id, params) }