diff --git a/src/utils/promise.js b/src/utils/promise.js index 0cf0a47eb8e..5f43735b00f 100644 --- a/src/utils/promise.js +++ b/src/utils/promise.js @@ -53,7 +53,7 @@ export class GreedyPromise { let [handler, resolveFn] = result[0] === SUCCESS ? [onSuccess, resolve] : [onError, reject]; if (typeof handler === 'function') { try { - value = handler(value); + handler(value); } catch (e) { reject(e); return;