Skip to content
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

the onErrorCaptured() hook is not working as expected #25

Closed
HermitSun opened this issue Jul 7, 2019 · 2 comments
Closed

the onErrorCaptured() hook is not working as expected #25

HermitSun opened this issue Jul 7, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@HermitSun
Copy link

I tried to use the the onErrorCaptured hook just as I used it in 2.x: code in CodeSandbox , outputs are in console.

The result is not in line with my expectation. Actually, the error was not captured, and because I usedVue.config.warnHandler, I found that the error was treated as a warn, onErrorCaptured was not called. But if I used it as 2.x, using errorCaptured hook, it works properly. Did I get something wrong? Thanks.

And sorry for my poor English.

@liximomo
Copy link
Member

liximomo commented Jul 8, 2019

In fact, we don't have the onErrorCaptured hook now.

@HermitSun
Copy link
Author

OK. Thank you.

@posva posva added the enhancement New feature or request label Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants