mirror of
https://github.com/ppy/osu
synced 2024-12-16 03:45:46 +00: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:
commit
3818cd6030
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user