-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vue.config.errorHandler and errorCaptured should capture rejected promised in watchers #10009
Labels
Comments
this is code:
|
posva
changed the title
Vue.config.errorHandler can't capture promise error in the async syntax function of watch?
Vue.config.errorHandler should capture rejected promised in watchers
May 12, 2019
underfin
added a commit
to underfin/vue
that referenced
this issue
May 13, 2019
13 tasks
13 tasks
posva
changed the title
Vue.config.errorHandler should capture rejected promised in watchers
Vue.config.errorHandler and errorCaptured should capture rejected promised in watchers
Jul 1, 2019
Hi @posva, is somebody working on this issue? If not, I would like to work on it. |
This issue has already an open pull request as the label suggests |
I put on my "hacker" hat and came up with a way to catch errors properly in watchers until #9484 is merged...
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.6.6
Reproduction link
Vue.config.errorHandler: https://jsfiddle.net/0aeufxmr/5/
errorCaptured
option: https://jsfiddle.net/shenron/kbuymoz0/Steps to reproduce
Just click
click1
andclick2
you will see the differenceWhat is expected?
when clicking
click1
, the message should be error responseWhat is actually happening?
message not changed
The text was updated successfully, but these errors were encountered: