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

Errors not caught when thrown from directives #5314

Closed
blocka opened this issue Mar 29, 2017 · 1 comment
Closed

Errors not caught when thrown from directives #5314

blocka opened this issue Mar 29, 2017 · 1 comment

Comments

@blocka
Copy link

blocka commented Mar 29, 2017

Version

2.2.4

Reproduction link

https://jsfiddle.net/gL3f27eg/4/

Steps to reproduce

Run the darn thing

What is expected?

An alert saying "Caught error"

What is actually happening?

A console error with the exception

@LinusBorg
Copy link
Member

Thanks!

yyx990803 pushed a commit that referenced this issue Apr 3, 2017
* handle errors thrown by directive hooks

* fix import
awamwang pushed a commit to awamwang/vue that referenced this issue Jun 15, 2017
* handle errors thrown by directive hooks

* fix import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants