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

updated pretty printer stack trace to use error #139

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

FireAndIceFrog
Copy link

Pretty Printer:

When passing a stack trace to Log.d it obeys the errorMethodCount instead of the methodCount when cutting the size of the stack trace.

This is not ideal because I might just want to pass in an arbitrary stack trace without making it error.

Solution:

Make the stack trace sliced via either the methodCount or errorMethodCount depending on whether the error is defined (not null)

@neiljaywarner
Copy link

This seems like a good idea to me.

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