mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-05 23:57:20 +02:00
Update sentry DSN to self hosted
This commit is contained in:
parent
415006badc
commit
c53aed4cbf
@ -253,8 +253,9 @@ stages:
|
|||||||
displayName: Publish Sentry Source Maps
|
displayName: Publish Sentry Source Maps
|
||||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/aphrodite'))
|
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/aphrodite'))
|
||||||
env:
|
env:
|
||||||
SENTRY_AUTH_TOKEN: $(sentryAuthToken)
|
SENTRY_AUTH_TOKEN: $(sentryAuthTokenSelfHosted)
|
||||||
SENTRY_ORG: $(sentryOrg)
|
SENTRY_ORG: $(sentryOrg)
|
||||||
|
SENTRY_URL: https://sentry.radarr.video
|
||||||
|
|
||||||
- stage: Unit_Test
|
- stage: Unit_Test
|
||||||
displayName: Unit Tests
|
displayName: Unit Tests
|
||||||
|
@ -80,8 +80,8 @@ export default function createSentryMiddleware() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const dsn = isProduction ? 'https://cf0559cfe5c84ccfae3d907daef1b6bb@sentry.io/1523530' :
|
const dsn = isProduction ? 'https://f4833ba136384acfafc92ddfd1c7bbc9@sentry.radarr.video/4' :
|
||||||
'https://df167d10dc51480b9e4f22e4e77c7315@sentry.io/1523531';
|
'https://019aef70678c484da8a43fe218690300@sentry.radarr.video/7';
|
||||||
|
|
||||||
sentry.init({
|
sentry.init({
|
||||||
dsn,
|
dsn,
|
||||||
|
@ -67,14 +67,14 @@ private static void RegisterSentry(bool updateClient)
|
|||||||
|
|
||||||
if (updateClient)
|
if (updateClient)
|
||||||
{
|
{
|
||||||
dsn = "https://89744ec1d2a14a36856f601bdf78e69f@sentry.io/1523535";
|
dsn = "https://379d628d45ba475a98d2e55675d14a02@sentry.radarr.video/5";
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dsn = RuntimeInfo.IsProduction
|
dsn = RuntimeInfo.IsProduction
|
||||||
? "https://ef61083de8e54a8cb81b63fee479c4ee@sentry.io/1485284"
|
? "https://cc1ac16546314ed0845256c54d8306d8@sentry.radarr.video/3"
|
||||||
: "https://e4e7bfd3cc0e45a4814613a096c79cc3@sentry.io/1523529";
|
: "https://8de711a75cbd43d08202f4207758bd19@sentry.radarr.video/6";
|
||||||
}
|
}
|
||||||
|
|
||||||
var target = new SentryTarget(dsn)
|
var target = new SentryTarget(dsn)
|
||||||
|
Loading…
Reference in New Issue
Block a user