1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-28 20:47:22 +08:00

Merge pull request #16842 from peppy/migration-error-output

Fix migration errors not outputting the call stack to logs
This commit is contained in:
Dan Balasescu 2022-02-10 16:31:14 +09:00 committed by GitHub
commit 7081c418dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
.ContinueWith(t => .ContinueWith(t =>
{ {
if (t.IsFaulted) if (t.IsFaulted)
Logger.Log($"Error during migration: {t.Exception?.Message}", level: LogLevel.Error); Logger.Error(t.Exception, $"Error during migration: {t.Exception?.Message}");
Schedule(this.Exit); Schedule(this.Exit);
}); });