Update sentry dsn

pull/1689/head
ta264 4 years ago committed by Qstick
parent 852d284670
commit 6cfb54030b

@ -11,7 +11,8 @@ variables:
minorVersion: $[counter('minorVersion', 1076)] minorVersion: $[counter('minorVersion', 1076)]
lidarrVersion: '$(majorVersion).$(minorVersion)' lidarrVersion: '$(majorVersion).$(minorVersion)'
buildName: '$(Build.SourceBranchName).$(lidarrVersion)' buildName: '$(Build.SourceBranchName).$(lidarrVersion)'
sentryOrg: 'radarr' sentryOrg: 'servarr'
sentryUrl: 'https://sentry.servarr.com'
dotnetVersion: '3.1.201' dotnetVersion: '3.1.201'
trigger: trigger:
@ -266,10 +267,10 @@ stages:
and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
) )
env: env:
SENTRY_AUTH_TOKEN: $(sentryAuthTokenSelfHosted) SENTRY_AUTH_TOKEN: $(sentryAuthTokenServarr)
SENTRY_ORG: $(sentryOrg) SENTRY_ORG: $(sentryOrg)
SENTRY_URL: https://sentry.radarr.video SENTRY_URL: $(sentryUrl)
- stage: Unit_Test - stage: Unit_Test
displayName: Unit Tests displayName: Unit Tests
dependsOn: Build_Backend dependsOn: Build_Backend

@ -36,7 +36,7 @@ function identity(stuff) {
} }
function stripUrlBase(frame) { function stripUrlBase(frame) {
if (frame.filename && window.Radarr.urlBase) { if (frame.filename && window.Lidarr.urlBase) {
frame.filename = frame.filename.replace(window.Lidarr.urlBase, ''); frame.filename = frame.filename.replace(window.Lidarr.urlBase, '');
} }
return frame; return frame;
@ -80,8 +80,8 @@ export default function createSentryMiddleware() {
return; return;
} }
const dsn = isProduction ? 'https://3639f9e2e2ae4872846b1c30d3122106@sentry.radarr.video/12' : const dsn = isProduction ? 'https://9df0cbe9eedf4b8698e8bc94ec03c4ff@sentry.servarr.com/18' :
'https://099b1f21a5794acebd3160859035bda7@sentry.radarr.video/14'; 'https://aaa261a8c3e542f0a52c07bed78e8d13@sentry.servarr.com/19';
sentry.init({ sentry.init({
dsn, dsn,

@ -66,13 +66,13 @@ namespace NzbDrone.Common.Instrumentation
if (updateClient) if (updateClient)
{ {
dsn = "https://b2fea06c1a9648819fda54e919039223@sentry.radarr.video/15"; dsn = "https://f73eb750155b4636af91356e0ed756ea@sentry.servarr.com/20";
} }
else else
{ {
dsn = RuntimeInfo.IsProduction dsn = RuntimeInfo.IsProduction
? "https://4e35724359dc4cee9b7e4df07d1897d2@sentry.radarr.video/11" ? "https://52ab4ed8003a42f383b6d24d66daf317@sentry.servarr.com/15"
: "https://13816615dc654302b0cd6de81fa8567a@sentry.radarr.video/13"; : "https://0522924d625c497f86fc2a1b22aaf21d@sentry.servarr.com/16";
} }
var target = new SentryTarget(dsn) var target = new SentryTarget(dsn)

Loading…
Cancel
Save