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

pull/600/head
Matt Tighe 2 years ago committed by mergify[bot]
parent 4a63f98b62
commit 6a2924b039

@ -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