Merge pull request #24634 from peppy/enable-sentry-global-mode

Enable sentry "global mode" as per recommendation
This commit is contained in:
Bartłomiej Dach 2023-08-23 20:58:48 +02:00 committed by GitHub
commit 9ef0ae53d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ public SentryLogger(OsuGame game)
options.AutoSessionTracking = true;
options.IsEnvironmentUser = false;
options.IsGlobalModeEnabled = true;
// The reported release needs to match version as reported to Sentry in .github/workflows/sentry-release.yml
options.Release = $"osu@{game.Version.Replace($@"-{OsuGameBase.BUILD_SUFFIX}", string.Empty)}";
});