From ae347a52259b24507a9c747c80d78a6beaa36de0 Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Tue, 3 Oct 2017 18:06:13 -0400 Subject: [PATCH] fix: ensure nextTick are passed to errorHandler (#6730) --- src/core/util/env.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/util/env.js b/src/core/util/env.js index 0f886150e88..57e65b20c54 100644 --- a/src/core/util/env.js +++ b/src/core/util/env.js @@ -89,7 +89,7 @@ export const nextTick = (function () { /* istanbul ignore if */ // $flow-disable-line if (typeof Promise !== 'undefined' && isNative(Promise)) { var p = Promise.resolve() - var logError = err => { console.error(err) } + var logError = err => { handleError(err, null, 'nextTick') } timerFunc = () => { p.then(nextTickHandler).catch(logError) // in problematic UIWebViews, Promise.then doesn't completely break, but