From a8e4237e34d198d97106d76a86950846ce2bc54d Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 24 Aug 2023 03:23:18 +0900 Subject: [PATCH] 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? --- osu.Game/Utils/SentryLogger.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/osu.Game/Utils/SentryLogger.cs b/osu.Game/Utils/SentryLogger.cs index 8c39a2d15a..61622a7122 100644 --- a/osu.Game/Utils/SentryLogger.cs +++ b/osu.Game/Utils/SentryLogger.cs @@ -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)}"; });