closes #23727: Add a fenix.git tag of the current hash to Sentry reports

upstream-sync
Matt Tighe 2 years ago committed by mergify[bot]
parent 3d4340e7ec
commit 96cda67806

@ -49,7 +49,10 @@ class Analytics(
val sentryService = SentryService(
context,
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,
sendEventForNativeCrashes = false, // Do not send native crashes to Sentry
sentryProjectUrl = getSentryProjectUrl()

Loading…
Cancel
Save