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
commit 3818cd6030
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;