mirror of https://github.com/ppy/osu
Don't report stable storage msising to sentry
This commit is contained in:
parent
eeddadef54
commit
a16c0f2aa0
|
@ -38,9 +38,9 @@ public override Storage GetStorageForStableInstall()
|
|||
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;
|
||||
|
|
|
@ -54,7 +54,7 @@ public RavenLogger(OsuGame game)
|
|||
}
|
||||
|
||||
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 });
|
||||
|
|
Loading…
Reference in New Issue