Skip to content

fix(nextjs): Show full stacktraces in integration tests #4125

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

Conversation

lobsterkatie
Copy link
Member

By default, Node only displays the top 10 frames in an error's stacktrace. Especially with async code (which, when down-compiled, introduces lots of frames just with its async-i-ness), this means you can be missing a lot of frames. This PR removes that cap for our integration tests, so we can see the full stacktrace when debugging.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2021

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 22.47 KB (-0.01% 🔽)
@sentry/browser - Webpack 23.35 KB (0%)
@sentry/react - Webpack 23.39 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 29.92 KB (0%)

@lobsterkatie lobsterkatie merged commit 76b8231 into master Nov 5, 2021
@lobsterkatie lobsterkatie deleted the kmclb-nextjs-show-full-stacktraces-in-integration-tests branch November 5, 2021 17:47
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.

2 participants