From 9f5a6457f26be725988c1e29d9641a24d7c69b07 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 17 Aug 2018 09:08:58 +0900 Subject: [PATCH] Don't forward errors to sentry for local builds --- osu.Game/Utils/RavenLogger.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osu.Game/Utils/RavenLogger.cs b/osu.Game/Utils/RavenLogger.cs index aadb70add8..761bd51672 100644 --- a/osu.Game/Utils/RavenLogger.cs +++ b/osu.Game/Utils/RavenLogger.cs @@ -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;