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

closes #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 3d4340e7ec
commit 96cda67806

View File

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