1
0
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:
Bartłomiej Dach
2026-01-07 13:03:20 +01:00
Unverified
parent 4f44d13e67
commit 48de70e719
+1
View File
@@ -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());
});
}