1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:02:55 +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 =>
{
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);
});