Skip to content
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

Set the current fiber to the source of the error during error reporting #29044

Merged
merged 1 commit into from
May 23, 2024

Commits on May 23, 2024

  1. Set the current fiber to the source of the error during error reporting

    This lets us expose the component stack to the error reporting that happens
    here as console.error patching, but more importantly for "owner stacks"
    this will be able to set the native async stacks to the original fiber.
    
    We now use the normal console.error management to add a component stack to
    the end.
    
    # Conflicts:
    #	packages/shared/consoleWithStackDev.js
    sebmarkbage committed May 23, 2024
    Configuration menu
    Copy the full SHA
    0f2b634 View commit details
    Browse the repository at this point in the history