Skip to content

Conversation

@johannes-z
Copy link
Contributor

See https://vuejs.org/v2/api/#errorHandler. The official errorHandler receives 3 parameters: function (err, vm, info) {}. I added the vm and info (err.stack) to the error handler call.

@foxbenjaminfox
Copy link
Owner

Looks good. Would you like to add documentation about this to the README, or should I?

@foxbenjaminfox foxbenjaminfox merged commit fdadbac into foxbenjaminfox:master Mar 19, 2019
foxbenjaminfox pushed a commit that referenced this pull request Mar 20, 2019
* added vm and info to errorHandler.

* updated README for `errorHandler` (#71).
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