mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 22:23:22 +08:00
Enable sentry "global mode" as per recommendation
Sentry documentation suggests this should be on for a client-facing app. We haven't run into issues without it until now, but might as well set it correctly?
This commit is contained in:
parent
8d24bf5049
commit
a8e4237e34
@ -47,6 +47,7 @@ namespace osu.Game.Utils
|
|||||||
|
|
||||||
options.AutoSessionTracking = true;
|
options.AutoSessionTracking = true;
|
||||||
options.IsEnvironmentUser = false;
|
options.IsEnvironmentUser = false;
|
||||||
|
options.IsGlobalModeEnabled = true;
|
||||||
// The reported release needs to match version as reported to Sentry in .github/workflows/sentry-release.yml
|
// 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)}";
|
options.Release = $"osu@{game.Version.Replace($@"-{OsuGameBase.BUILD_SUFFIX}", string.Empty)}";
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user