diff --git a/backend/src/main/utils/PromiseUtils.js b/backend/src/main/utils/PromiseUtils.js index 2772cf9e..9b3a66f5 100644 --- a/backend/src/main/utils/PromiseUtils.js +++ b/backend/src/main/utils/PromiseUtils.js @@ -8,7 +8,7 @@ class PromiseUtils { }) .catch(error => { return Promise.resolve(finallyFn()) - .then(() => resolve(reject(error))); + .then(() => reject(error)); }); }); }