Skip to content

Commit 58fe888

Browse files
authored
Merge pull request #2106 from Infomaniak/remove-useless-sentry
chore: Remove useless Sentry
2 parents 178fcb9 + 6d85be0 commit 58fe888

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

app/src/main/java/com/infomaniak/mail/ui/MainActivity.kt

+1-4
Original file line numberDiff line numberDiff line change
@@ -464,10 +464,7 @@ class MainActivity : BaseActivity() {
464464
trackInAppUpdateEvent(if (isWantingUpdate) MatomoMail.DISCOVER_NOW else MatomoMail.DISCOVER_LATER)
465465
},
466466
onInstallStart = { trackInAppUpdateEvent("installUpdate") },
467-
onInstallFailure = {
468-
Sentry.captureException(it)
469-
snackbarManager.setValue(getString(RCore.string.errorUpdateInstall))
470-
},
467+
onInstallFailure = { snackbarManager.setValue(getString(RCore.string.errorUpdateInstall)) },
471468
onInAppUpdateUiChange = { isUpdateDownloaded ->
472469
SentryLog.d(StoreUtils.APP_UPDATE_TAG, "Must display update button : $isUpdateDownloaded")
473470
mainViewModel.canInstallUpdate.value = isUpdateDownloaded

0 commit comments

Comments
 (0)