Skip to content

Commit

Permalink
Revert "Merge pull request #2026 from Infomaniak/realm-breadcrumbs"
Browse files Browse the repository at this point in the history
This reverts commit 2682435, reversing
changes made to 6b097a1.
  • Loading branch information
KevinBoulongne committed Feb 10, 2025
1 parent e35814e commit 7fbb5f3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/src/main/java/com/infomaniak/mail/MainApplication.kt
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,6 @@ open class MainApplication : Application(), ImageLoaderFactory, DefaultLifecycle

private fun configureSentry() {
SentryAndroid.init(this) { options: SentryAndroidOptions ->

/**
* The default value is 100.
* But Realm breadcrumbs are spamming a lot, so we increase this limit for now, to see if it's enough or not.
*/
options.maxBreadcrumbs = 200

// Register the callback as an option
options.beforeSend = SentryOptions.BeforeSendCallback { event: SentryEvent, _: Any? ->

Expand Down

0 comments on commit 7fbb5f3

Please sign in to comment.