Skip to content

fix(nextjs): Don't report React postpone errors #12194

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

Merged
merged 4 commits into from
May 24, 2024

Conversation

lforst
Copy link
Member

@lforst lforst commented May 23, 2024

Fixes #12061
Fixes #11969

React/Next.js throw errors for control flow. In this case, React throws a "postpone" error, to signify that a route cannot be pre-rendered. We obviously do not want to report these errors so we drop the events.

@lforst lforst marked this pull request as ready for review May 24, 2024 09:20
@lforst lforst requested review from mydea, Lms24 and AbhiPrasad May 24, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants