Skip to content

Set _error on vm before we rethrow it in error handler in order to ca… #170

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

Merged
merged 1 commit into from
Nov 11, 2017

Conversation

Austio
Copy link
Contributor

@Austio Austio commented Nov 11, 2017

…tch instances where global error handler will log instead of throw

Patches mount to throw if vm._error is set. Handles cases where we are not inBrowser and console is defined.
https://github.com/vuejs/vue/blob/015a31890250e93564959de97372be7bd6195f62/dist/vue.js#L1682-L1703

Follow up to #154

…tch instances where global error handler will log instead of throw
@eddyerburgh eddyerburgh merged commit ade28d5 into vuejs:dev Nov 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants