mirror of
https://github.com/ppy/osu.git
synced 2026-06-07 09:23:46 +08:00
Log version hash to sentry
This is the counterpart to https://github.com/ppy/osu-server-spectator/pull/413. The goal is to log the value which is seemingly failing to work correctly client-side as well. The reason for doing that is two-fold: - To eliminate possibility of freakazoid issues wherein some computers miscalculate the version hash somehow - To eliminate possibility of the version hash somehow getting lost in transit (e.g. present client-side but no longer present server-side).
This commit is contained in:
@@ -176,6 +176,7 @@ namespace osu.Game.Utils
|
||||
scope.SetTag(@"beatmap", $"{beatmap.OnlineID}");
|
||||
scope.SetTag(@"ruleset", ruleset.ShortName);
|
||||
scope.SetTag(@"os", $"{RuntimeInfo.OS} ({Environment.OSVersion})");
|
||||
scope.SetTag(@"version hash", game.VersionHash);
|
||||
scope.SetTag(@"processor count", Environment.ProcessorCount.ToString());
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user