1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 21:02:54 +08:00

Don't forward errors to sentry for local builds

This commit is contained in:
Dean Herbert 2018-08-17 09:08:58 +09:00
parent 12b81df2f3
commit 9f5a6457f2

View File

@ -23,6 +23,8 @@ namespace osu.Game.Utils
{ {
raven.Release = game.Version; raven.Release = game.Version;
if (!game.IsDeployedBuild) return;
Logger.NewEntry += entry => Logger.NewEntry += entry =>
{ {
if (entry.Level < LogLevel.Verbose) return; if (entry.Level < LogLevel.Verbose) return;