Skip to content

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.

3 participants