2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

[fenix] closes https://github.com/mozilla-mobile/fenix/issues/23727: Add a fenix.git tag of the current hash to Sentry reports

This commit is contained in:
Matt Tighe 2022-02-14 14:03:50 -08:00 committed by mergify[bot]
parent 4a63f98b62
commit 6a2924b039

View File

@ -49,7 +49,10 @@ class Analytics(
val sentryService = SentryService( val sentryService = SentryService(
context, context,
BuildConfig.SENTRY_TOKEN, BuildConfig.SENTRY_TOKEN,
tags = mapOf("geckoview" to "$MOZ_APP_VERSION-$MOZ_APP_BUILDID"), tags = mapOf(
"geckoview" to "$MOZ_APP_VERSION-$MOZ_APP_BUILDID",
"fenix.git" to BuildConfig.GIT_HASH,
),
environment = BuildConfig.BUILD_TYPE, environment = BuildConfig.BUILD_TYPE,
sendEventForNativeCrashes = false, // Do not send native crashes to Sentry sendEventForNativeCrashes = false, // Do not send native crashes to Sentry
sentryProjectUrl = getSentryProjectUrl() sentryProjectUrl = getSentryProjectUrl()