mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 09:12:17 +00:00
Update sentry DSN to self hosted
This commit is contained in:
parent
92d0b4f931
commit
c4df49b0fb
3 changed files with 8 additions and 7 deletions
|
@ -11,7 +11,7 @@ variables:
|
|||
minorVersion: $[counter('minorVersion', 1076)]
|
||||
lidarrVersion: '$(majorVersion).$(minorVersion)'
|
||||
buildName: '$(Build.SourceBranchName).$(lidarrVersion)'
|
||||
sentryOrg: 'lidarr'
|
||||
sentryOrg: 'radarr'
|
||||
dotnetVersion: '3.1.100'
|
||||
|
||||
trigger:
|
||||
|
@ -262,8 +262,9 @@ stages:
|
|||
and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
||||
)
|
||||
env:
|
||||
SENTRY_AUTH_TOKEN: $(sentryAuthToken)
|
||||
SENTRY_AUTH_TOKEN: $(sentryAuthTokenSelfHosted)
|
||||
SENTRY_ORG: $(sentryOrg)
|
||||
SENTRY_URL: https://sentry.radarr.video
|
||||
|
||||
- stage: Unit_Test
|
||||
displayName: Unit Tests
|
||||
|
|
|
@ -80,8 +80,8 @@ export default function createSentryMiddleware() {
|
|||
return;
|
||||
}
|
||||
|
||||
const dsn = isProduction ? 'https://c3a5b33e08de4e18b7d0505e942dbc95@sentry.io/216290' :
|
||||
'https://baede6f14da54cf48ff431479e400adf@sentry.io/1249427';
|
||||
const dsn = isProduction ? 'https://3639f9e2e2ae4872846b1c30d3122106@sentry.radarr.video/12' :
|
||||
'https://099b1f21a5794acebd3160859035bda7@sentry.radarr.video/14';
|
||||
|
||||
sentry.init({
|
||||
dsn,
|
||||
|
|
|
@ -66,13 +66,13 @@ private static void RegisterSentry(bool updateClient)
|
|||
|
||||
if (updateClient)
|
||||
{
|
||||
dsn = "https://2f3cc03453e4453bb3c1dd3ff77b15ab@sentry.io/1339335";
|
||||
dsn = "https://b2fea06c1a9648819fda54e919039223@sentry.radarr.video/15";
|
||||
}
|
||||
else
|
||||
{
|
||||
dsn = RuntimeInfo.IsProduction
|
||||
? "https://f607fb34f89745f9bfe5ded0a97ab00a@sentry.io/209545"
|
||||
: "https://28faaa7023384031b29e38d3be74fa11@sentry.io/227247";
|
||||
? "https://4e35724359dc4cee9b7e4df07d1897d2@sentry.radarr.video/11"
|
||||
: "https://13816615dc654302b0cd6de81fa8567a@sentry.radarr.video/13";
|
||||
}
|
||||
|
||||
var target = new SentryTarget(dsn)
|
||||
|
|
Loading…
Reference in a new issue