-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Description
Version
2.3.3
Reproduction link
https://jsfiddle.net/50wL7mdz/40803/
Steps to reproduce
Create a global error handler, something like this:
window.onerror = function (e) {
alert("Error caught");
};
inside a function of your vue methods, throw an exception. for example
throw "hello!";
What is expected?
alert box to be shown.
What is actually happening?
nothing. it seems Vue silence the error.
I want to use this to have a centralized error handling mechanism for user generated errors.
autumnwoodberry, m4heshd, mjkhonline, cadenzah and leegee
Metadata
Metadata
Assignees
Labels
No labels