Don't report stable storage missing to sentry (#5521)

Don't report stable storage missing to sentry
This commit is contained in:
Dean Herbert 2019-07-30 14:07:31 +09:00 committed by GitHub
commit 8950f009e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 });