2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-02 03:40:16 +00:00

For #25183 - Update the Sentry base URL

Update the Sentry base URL to use the new instance
This commit is contained in:
CHAN, Chak Shing 2022-05-21 17:21:09 +08:00 committed by mergify[bot]
parent 42ca23f2b5
commit 9a6380d55b

View File

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