diff options
author | mageven <62494521+mageven@users.noreply.github.com> | 2021-02-23 20:49:02 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 16:19:02 +0100 |
commit | fa55d7133aeb17ebe0a24dd2aa9af80697de8bfc (patch) | |
tree | 6cd18f23e2f4d4b2c1b07927765a75b20a6fac6e /Ryujinx/Program.cs | |
parent | bcbf240d2eab2a2794224487d87519ac31016c96 (diff) |
Pacify updater (#1899)
* Updater: Remove dirs selectively
* Log exceptions from updater async tasks
* Address riperiperi's comments
Diffstat (limited to 'Ryujinx/Program.cs')
-rw-r--r-- | Ryujinx/Program.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Ryujinx/Program.cs b/Ryujinx/Program.cs index 5d50e9d2..24642b61 100644 --- a/Ryujinx/Program.cs +++ b/Ryujinx/Program.cs @@ -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(); |