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 @@ public override Storage GetStorageForStableInstall()
if (Host is DesktopGameHost desktopHost) if (Host is DesktopGameHost desktopHost)
return new StableStorage(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; return null;

View File

@ -54,7 +54,7 @@ public RavenLogger(OsuGame game)
} }
lastException = exception; lastException = exception;
queuePendingTask(raven.CaptureAsync(new SentryEvent(exception))); queuePendingTask(raven.CaptureAsync(new SentryEvent(exception) { Message = entry.Message }));
} }
else else
raven.AddTrail(new Breadcrumb(entry.Target.ToString(), BreadcrumbType.Navigation) { Message = entry.Message }); raven.AddTrail(new Breadcrumb(entry.Target.ToString(), BreadcrumbType.Navigation) { Message = entry.Message });