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

Reduce stack trace length #4186

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Reduce stack trace length #4186

wants to merge 4 commits into from

Conversation

olivroy
Copy link
Contributor

@olivroy olivroy commented Feb 4, 2025

Basically, the stack trace isn't truncated well if a package uses cli or rlang to throw errors. This is common in many tidyverse packages for example.

This PR adds some calls to allow truncating the top of the stack trace a bit more.

Opening the PR from discussion, because it doesn't really work since I can't seem to get rid of the "" call..

Comment on lines +97 to +100
1 69 <Anonymous>
2 68 signalCondition
3 67 signal_abort
4 66 rlang::abort
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The goal is to get rid of these, but my approach doesn't work currently. Let me know if you have an idea on how to do this.

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.

1 participant