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

Duplicate Sentry error being logged due to undesired Sentry/Timber integration #111

Open
ssawchenko opened this issue Jun 16, 2023 · 0 comments
Assignees

Comments

@ssawchenko
Copy link
Collaborator

ssawchenko commented Jun 16, 2023

I noticed that we were getting errors with the title "SteamclogThrowableWrapper", which should never be a string that is shown to the user. This class is a wrapper we use to pass along extra data to our Timber tree interceptors and is not the actual error being logged:

Screenshot 2023-06-16 at 12 40 22 PM

Investigating further it looks like there is now a Senty/Timber integration available:
https://docs.sentry.io/platforms/android/configuration/integrations/timber/

While we are not using this directly, we are using io.sentry.android.gradle to upload our reports to Sentry and the documentation states:

Starting from version 3.1.0, the Sentry Android Gradle plugin will automatically add the sentry-android-timber dependency. The plugin will only add the sentry-android-timber dependency if a timber dependency was discovered on the classpath.

We need to find a way to disable this as we do not want these extra reports.

@ssawchenko ssawchenko self-assigned this Jun 16, 2023
ssawchenko added a commit that referenced this issue Jun 19, 2023
…ber/Sentry integration (#112)

* Updated sample app to allow us to send one error (previously could only send multiple)
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

No branches or pull requests

1 participant