mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 18:23:04 +08:00
Don't forward errors to sentry for local builds
This commit is contained in:
parent
12b81df2f3
commit
9f5a6457f2
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user