Add package to Sentry release to ensure apps don't mix

This commit is contained in:
Qstick
2023-07-04 12:12:44 -05:00
parent 09d44726a4
commit ef57545221
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ namespace NzbDrone.Common.Instrumentation.Sentry
o.Dsn = dsn;
o.AttachStacktrace = true;
o.MaxBreadcrumbs = 200;
o.Release = BuildInfo.Release;
o.Release = $"{BuildInfo.AppName}@{BuildInfo.Release}";
o.BeforeSend = x => SentryCleanser.CleanseEvent(x);
o.BeforeBreadcrumb = x => SentryCleanser.CleanseBreadcrumb(x);
o.Environment = BuildInfo.Branch;