mirror of https://github.com/ppy/osu
Include framework configuration in sentry output
This commit is contained in:
parent
c86a75aa5f
commit
22072ee16a
|
@ -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 =>
|
||||||
|
|
Loading…
Reference in New Issue