Update the Sentry base URL to use the new instance
pull/600/head
CHAN, Chak Shing 2 years ago committed by mergify[bot]
parent f86af3af82
commit 2b3e9ce6b4

@ -144,11 +144,11 @@ class Analytics(
private fun isSentryEnabled() = !BuildConfig.SENTRY_TOKEN.isNullOrEmpty()
private fun getSentryProjectUrl(): String? {
val baseUrl = "https://sentry.prod.mozaws.net/operations"
val baseUrl = "https://sentry.io/organizations/mozilla/issues"
return when (Config.channel) {
ReleaseChannel.Nightly -> "$baseUrl/fenix"
ReleaseChannel.Release -> "$baseUrl/fenix-fennec"
ReleaseChannel.Beta -> "$baseUrl/fenix-fennec-beta"
ReleaseChannel.Nightly -> "$baseUrl/?project=6295546"
ReleaseChannel.Release -> "$baseUrl/?project=6375561"
ReleaseChannel.Beta -> "$baseUrl/?project=6295551"
else -> null
}
}

Loading…
Cancel
Save