Multiple Suspense instance are not isolated during OnErrorCaptured
Version
3.0.4
Reproduction link
https://github.com/proximax-foundry/xpx-storage-explorer/blob/dev/src/views/MainOverview.vue
Steps to reproduce
- Use Suspense template here
- Wrap multiple async components as shown here and App.vue
- Throw errors within async components.
What is expected?
The error should be captured and isolated within the Suspense scope of the component in (MainOverview.vue)
What is actually happening?
The error seems to be captured at the higher level (App.vue) which instead of the scope of the component in (MainOverview.vue)
I believe the feature request proposed here might help resolve this issue.
Read https://new-issue.vuejs.org/?repo=vuejs/vue#why-repro
I guess that as you said, we can track this at #1347