Skip to content

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

@ssawchenko

Description

@ssawchenko

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions