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

ref(nextjs): Remove compensation for workaround in _error.js #5378

Merged
merged 1 commit into from Jul 19, 2022

Conversation

lobsterkatie
Copy link
Member

@lobsterkatie lobsterkatie commented Jul 7, 2022

For a long time, the _error.js page we provide @sentry/nextjs users contained a workaround for vercel/next.js#8592. When most of the code in _error.js was moved into captureUnderscoreErrorException, parts of the workaround came along for the ride. Now that that issue has been fixed, the workaround is no longer necessary.

This removes as many of the workaround's vestiges in captureUnderscoreErrorException as possible. (We can't remove them all, because the workaround existed in user code rather than ours, and we can't stop people from continuing to use it. This fixes things so that if they do that, it'll just bail gracefully.)

@lobsterkatie lobsterkatie force-pushed the kmclb-nextjs-remove-_error-workaround branch from 790d131 to 889f02d Compare July 15, 2022 15:22
@lobsterkatie lobsterkatie marked this pull request as ready for review July 15, 2022 18:46
@lobsterkatie lobsterkatie requested a review from Lms24 July 15, 2022 18:46
@lobsterkatie lobsterkatie merged commit c7fc025 into master Jul 19, 2022
@lobsterkatie lobsterkatie deleted the kmclb-nextjs-remove-_error-workaround branch July 19, 2022 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants