Skip to content

fix: Don't attach Android Threads #866

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
merged 1 commit into from
May 22, 2020

Conversation

bruno-garcia
Copy link
Member

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Unless explicitly passed in via configuration, attachThreads will be false.

💡 Motivation and Context

JS sends event.stacktrace (see getsentry/sentry-javascript#2605 and sentry-android attaches event.threads and the UI picks the threads instead. But that means the stacktrace unrelated to any thread doesn't render, and the Java threads are irrelevant (in fact they don't include any frame). Lastly threads don't seem to be useful in this context

💚 How did you test it?

Used the sample app

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • All tests passing

🔮 Next steps

@bruno-garcia bruno-garcia requested a review from HazAT as a code owner May 21, 2020 18:52
@bruno-garcia bruno-garcia merged commit a106cc1 into master May 22, 2020
@bruno-garcia bruno-garcia deleted the fix/android-dont-attach-threads branch May 22, 2020 13:34
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