diff --git a/src/utils/error-checking.js b/src/utils/error-checking.js index 39d999c3a..36f7b1c48 100644 --- a/src/utils/error-checking.js +++ b/src/utils/error-checking.js @@ -16,7 +16,7 @@ export function throwError(error, cb) { } if (typeof cb === 'function') { - return cb.call(this, error); + cb.call(this, error); } throw error;