diff --git a/src/index.js b/src/index.js index 57588af..21f718a 100644 --- a/src/index.js +++ b/src/index.js @@ -840,7 +840,8 @@ class Service extends AdapterService { return this._createQuery(params) .allowGraph(allowedUpsert) .upsertGraphAndFetch(dataCopy, upsertGraphOptions) - .then(this._selectFields(params, data)).then(this._commitTransaction(transaction), this._rollbackTransaction(transaction)); + .then(this._selectFields(params, data)).then(this._commitTransaction(transaction), this._rollbackTransaction(transaction)) + .catch(errorHandler); }); }