mirror of
https://github.com/ppy/osu.git
synced 2025-03-15 22:19:31 +08:00
Merge pull request #18309 from peppy/sentry-tag-os-processor
Add sentry tags for operating system and processor count
This commit is contained in:
commit
ffbd4f7990
@ -8,6 +8,7 @@ using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using osu.Framework;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Logging;
|
||||
@ -160,6 +161,8 @@ namespace osu.Game.Utils
|
||||
};
|
||||
|
||||
scope.SetTag(@"ruleset", ruleset.ShortName);
|
||||
scope.SetTag(@"os", $"{RuntimeInfo.OS} ({Environment.OSVersion})");
|
||||
scope.SetTag(@"processor count", Environment.ProcessorCount.ToString());
|
||||
});
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user