1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 20:47:51 +08:00

Merge pull request #15783 from peppy/close-failed-update-notification

Close a failed update notification immediately
This commit is contained in:
Dan Balasescu 2021-11-24 19:46:33 +09:00 committed by GitHub
commit 88b968fbe8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,10 @@ namespace osu.Desktop.Updater
}
else
{
// In the case of an error, a separate notification will be displayed.
notification.State = ProgressNotificationState.Cancelled;
notification.Close();
Logger.Error(e, @"update failed!");
}
}