Pacify updater (#1899)
* Updater: Remove dirs selectively * Log exceptions from updater async tasks * Address riperiperi's comments
This commit is contained in:
parent
bcbf240d2e
commit
fa55d7133a
3 changed files with 44 additions and 17 deletions
|
@ -156,7 +156,10 @@ namespace Ryujinx
|
|||
|
||||
if (ConfigurationState.Instance.CheckUpdatesOnStart.Value && Updater.CanUpdate(false))
|
||||
{
|
||||
_ = Updater.BeginParse(mainWindow, false);
|
||||
Updater.BeginParse(mainWindow, false).ContinueWith(task =>
|
||||
{
|
||||
Logger.Error?.Print(LogClass.Application, $"Updater Error: {task.Exception}");
|
||||
}, TaskContinuationOptions.OnlyOnFaulted);
|
||||
}
|
||||
|
||||
Application.Run();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue