You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.return a promise that reject one error in watch;
2.trigger the watcher in the step 1;
What is expected?
Vue.config.errorHandler can catch the error.
What is actually happening?
Vue.config.errorHandler not catch the error.
I think changing the try {/.../} catch (e) {/.../} in the Vue.prototype.$watch and run function of the watcher to invokeWithErrorHandling can solve the problem.
The text was updated successfully, but these errors were encountered:
Version
2.6.8
Reproduction link
https://jsfiddle.net/fh5kz3r6/
Steps to reproduce
1.return a promise that reject one error in watch;
2.trigger the watcher in the step 1;
What is expected?
Vue.config.errorHandler can catch the error.
What is actually happening?
Vue.config.errorHandler not catch the error.
I think changing the try {/.../} catch (e) {/.../} in the Vue.prototype.$watch and run function of the watcher to invokeWithErrorHandling can solve the problem.
The text was updated successfully, but these errors were encountered: