Skip to content

Multiple Suspense instance are not isolated during OnErrorCaptured #2795

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

Closed
st-wong opened this issue Dec 11, 2020 · 1 comment
Closed

Multiple Suspense instance are not isolated during OnErrorCaptured #2795

st-wong opened this issue Dec 11, 2020 · 1 comment

Comments

@st-wong
Copy link

st-wong commented Dec 11, 2020

Version

3.0.4

Reproduction link

https://github.com/proximax-foundry/xpx-storage-explorer/blob/dev/src/views/MainOverview.vue

Steps to reproduce

  1. Use Suspense template here
  2. Wrap multiple async components as shown here and App.vue
  3. 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.

@posva
Copy link
Member

posva commented Dec 11, 2020

Read https://new-issue.vuejs.org/?repo=vuejs/vue#why-repro

I guess that as you said, we can track this at #1347

@posva posva closed this as completed Dec 11, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Oct 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants