More sentry updates

This commit is contained in:
ta264 2020-04-28 06:26:05 +01:00
parent dc66e92c48
commit 0b36a83cc4
2 changed files with 6 additions and 5 deletions

View File

@ -11,7 +11,8 @@ variables:
minorVersion: $[counter('minorVersion', 2000)]
radarrVersion: '$(majorVersion).$(minorVersion)'
buildName: '$(Build.SourceBranchName).$(radarrVersion)'
sentryOrg: 'radarr'
sentryOrg: 'servarr'
sentryUrl: 'https://sentry.servarr.com'
dotnetVersion: '3.1.201'
trigger:
@ -277,9 +278,9 @@ stages:
continueOnError: true
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/aphrodite'))
env:
SENTRY_AUTH_TOKEN: $(sentryAuthTokenSelfHosted)
SENTRY_AUTH_TOKEN: $(sentryAuthTokenServarr)
SENTRY_ORG: $(sentryOrg)
SENTRY_URL: https://sentry.radarr.video
SENTRY_URL: $(sentryUrl)
- stage: Unit_Test
displayName: Unit Tests

View File

@ -80,8 +80,8 @@ export default function createSentryMiddleware() {
return;
}
const dsn = isProduction ? 'https://f4833ba136384acfafc92ddfd1c7bbc9@sentry.radarr.video/4' :
'https://019aef70678c484da8a43fe218690300@sentry.radarr.video/7';
const dsn = isProduction ? 'https://b0fb75c38ef4487dbf742f79c4ba62d2@sentry.servarr.com/12' :
'https://da610619280249f891ec3ee306906793@sentry.servarr.com/13';
sentry.init({
dsn,