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:
parent
42ca23f2b5
commit
9a6380d55b
@ -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…
Reference in New Issue
Block a user