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

fix(build): Ensure full stacktraces when running rollup #4833

Merged

Conversation

lobsterkatie
Copy link
Member

By default, node cuts stacktraces down to the final 10 frames. Sometimes, though, the stuff you're interested in is below that. This removes the cap for errors generated when running rollup (which turned out to be necessary to diagnose a problem encountered during work on the new build process).

Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Send these errors to Sentry?

@lobsterkatie
Copy link
Member Author

Send these errors to Sentry?

An interesting idea. If we do, I think it should be part of a larger "monitor our CI with sentry" convo/project. (I actually needed this for my work locally, where it wouldn't have made any sense to report to Sentry, but having a record of the snags into which CI runs might not be a terrible thing.)

@lobsterkatie lobsterkatie enabled auto-merge (squash) March 31, 2022 23:19
@lobsterkatie lobsterkatie merged commit 827fcc8 into master Mar 31, 2022
@lobsterkatie lobsterkatie deleted the kmclb-ensure-full-stacktraces-during-rollup-build branch March 31, 2022 23:37
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