Include framework configuration in sentry output

This commit is contained in:
Dean Herbert 2022-08-22 17:03:30 +09:00
parent c86a75aa5f
commit 22072ee16a
1 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,7 @@
using osu.Framework; using osu.Framework;
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Bindables; using osu.Framework.Bindables;
using osu.Framework.Configuration;
using osu.Framework.Logging; using osu.Framework.Logging;
using osu.Framework.Statistics; using osu.Framework.Statistics;
using osu.Game.Beatmaps; using osu.Game.Beatmaps;
@ -112,8 +113,8 @@ private void processLogEntry(LogEntry entry)
scope.Contexts[@"config"] = new scope.Contexts[@"config"] = new
{ {
Game = game.Dependencies.Get<OsuConfigManager>().GetLoggableState() Game = game.Dependencies.Get<OsuConfigManager>().GetCurrentConfigurationForLogging(),
// TODO: add framework config here. needs some consideration on how to expose. Framework = game.Dependencies.Get<FrameworkConfigManager>().GetCurrentConfigurationForLogging(),
}; };
game.Dependencies.Get<RealmAccess>().Run(realm => game.Dependencies.Get<RealmAccess>().Run(realm =>