1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:18:22 +08:00

Don't report stable storage msising to sentry

This commit is contained in:
Dean Herbert 2019-07-30 12:44:08 +09:00
parent eeddadef54
commit a16c0f2aa0
2 changed files with 3 additions and 3 deletions

View File

@ -38,9 +38,9 @@ namespace osu.Desktop
if (Host is DesktopGameHost desktopHost)
return new StableStorage(desktopHost);
}
catch (Exception e)
catch (Exception)
{
Logger.Error(e, "Error while searching for stable install");
Logger.Log("Could not find a stable install", LoggingTarget.Runtime, LogLevel.Important);
}
return null;

View File

@ -54,7 +54,7 @@ namespace osu.Game.Utils
}
lastException = exception;
queuePendingTask(raven.CaptureAsync(new SentryEvent(exception)));
queuePendingTask(raven.CaptureAsync(new SentryEvent(exception) { Message = entry.Message }));
}
else
raven.AddTrail(new Breadcrumb(entry.Target.ToString(), BreadcrumbType.Navigation) { Message = entry.Message });