Skip to content

Commit 54d44dd

Browse files
Push back Breadcrumbs limit from 100 to 1.000
1 parent 6f10e1b commit 54d44dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/com/infomaniak/mail/MainApplication.kt

+3
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ open class MainApplication : Application(), ImageLoaderFactory, DefaultLifecycle
170170

171171
private fun configureSentry() {
172172
SentryAndroid.init(this) { options: SentryAndroidOptions ->
173+
174+
options.maxBreadcrumbs = 1_000
175+
173176
// Register the callback as an option
174177
options.beforeSend = SentryOptions.BeforeSendCallback { event: SentryEvent, _: Any? ->
175178
val isNetworkException = event.exceptions?.any { it.type == "ApiController\$NetworkException" } ?: false

0 commit comments

Comments
 (0)