-
-
Notifications
You must be signed in to change notification settings - Fork 245
Closed
Description
I'm having an issue related to error logs. I've noticed that whenever errors happen I'm only able to see them logged when switching on Vue Devtools.
Example:
In App.vue I'm throwing an error to showcase the behaviour:
created() {
throw new Error('TEST ERROR!');
}
Without running Vue Devtools in the browser console I don't see the error or even warning. In the terminal I see the following:
[Vue warn]: Unhandled error during execution of created hook
at <App key=0 >
at <Root>
The above makes sense, however the error is still not shown. Once I switch on Vue Devtools by using --env.vueDevtools
I then see the error in the terminal:
[Vue warn]: Unhandled error during execution of created hook
at <App key=0 >
at <Root>
Unhandled promise rejection Error: TEST ERRROR!
And in the browser I also see the error plus the stacktrace as expected:
Metadata
Metadata
Assignees
Labels
No labels