mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-01 12:08:01 +00:00
Update sentry dsn
This commit is contained in:
parent
852d284670
commit
6cfb54030b
3 changed files with 11 additions and 10 deletions
|
@ -11,7 +11,8 @@ variables:
|
|||
minorVersion: $[counter('minorVersion', 1076)]
|
||||
lidarrVersion: '$(majorVersion).$(minorVersion)'
|
||||
buildName: '$(Build.SourceBranchName).$(lidarrVersion)'
|
||||
sentryOrg: 'radarr'
|
||||
sentryOrg: 'servarr'
|
||||
sentryUrl: 'https://sentry.servarr.com'
|
||||
dotnetVersion: '3.1.201'
|
||||
|
||||
trigger:
|
||||
|
@ -266,10 +267,10 @@ stages:
|
|||
and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
||||
)
|
||||
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
|
||||
dependsOn: Build_Backend
|
||||
|
|
|
@ -36,7 +36,7 @@ function identity(stuff) {
|
|||
}
|
||||
|
||||
function stripUrlBase(frame) {
|
||||
if (frame.filename && window.Radarr.urlBase) {
|
||||
if (frame.filename && window.Lidarr.urlBase) {
|
||||
frame.filename = frame.filename.replace(window.Lidarr.urlBase, '');
|
||||
}
|
||||
return frame;
|
||||
|
@ -80,8 +80,8 @@ export default function createSentryMiddleware() {
|
|||
return;
|
||||
}
|
||||
|
||||
const dsn = isProduction ? 'https://3639f9e2e2ae4872846b1c30d3122106@sentry.radarr.video/12' :
|
||||
'https://099b1f21a5794acebd3160859035bda7@sentry.radarr.video/14';
|
||||
const dsn = isProduction ? 'https://9df0cbe9eedf4b8698e8bc94ec03c4ff@sentry.servarr.com/18' :
|
||||
'https://aaa261a8c3e542f0a52c07bed78e8d13@sentry.servarr.com/19';
|
||||
|
||||
sentry.init({
|
||||
dsn,
|
||||
|
|
|
@ -66,13 +66,13 @@ private static void RegisterSentry(bool updateClient)
|
|||
|
||||
if (updateClient)
|
||||
{
|
||||
dsn = "https://b2fea06c1a9648819fda54e919039223@sentry.radarr.video/15";
|
||||
dsn = "https://f73eb750155b4636af91356e0ed756ea@sentry.servarr.com/20";
|
||||
}
|
||||
else
|
||||
{
|
||||
dsn = RuntimeInfo.IsProduction
|
||||
? "https://4e35724359dc4cee9b7e4df07d1897d2@sentry.radarr.video/11"
|
||||
: "https://13816615dc654302b0cd6de81fa8567a@sentry.radarr.video/13";
|
||||
? "https://52ab4ed8003a42f383b6d24d66daf317@sentry.servarr.com/15"
|
||||
: "https://0522924d625c497f86fc2a1b22aaf21d@sentry.servarr.com/16";
|
||||
}
|
||||
|
||||
var target = new SentryTarget(dsn)
|
||||
|
|
Loading…
Reference in a new issue