1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-09 20:54:47 +08:00

Merge pull request #3238 from peppy/no-sentry-on-debug-build

Don't forward errors to sentry for local builds
This commit is contained in:
Dan Balasescu
2018-08-17 09:30:18 +09:00
committed by GitHub
Unverified
+2
View File
@@ -23,6 +23,8 @@ namespace osu.Game.Utils
{
raven.Release = game.Version;
if (!game.IsDeployedBuild) return;
Logger.NewEntry += entry =>
{
if (entry.Level < LogLevel.Verbose) return;