From 0678dea18c43a199fe0ad95d15fb3649cf0b35ae Mon Sep 17 00:00:00 2001 From: Raymond Date: Sat, 9 Oct 2021 12:09:15 -0400 Subject: [PATCH] Handle anything else that blew up --- .../Interface/Internal/Windows/PluginInstallerWindow.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs index b17644861..87908ec35 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs @@ -1827,7 +1827,14 @@ namespace Dalamud.Interface.Internal.Windows if (!hasImages) { this.pluginImagesMap.Add(manifest.InternalName, Array.Empty()); - Task.Run(async () => await this.DownloadPluginImagesAsync(plugin, manifest, isThirdParty)); + Task.Run(async () => await this.DownloadPluginImagesAsync(plugin, manifest, isThirdParty)) + .ContinueWith(task => + { + if (task.IsFaulted) + { + Log.Error(task.Exception.InnerException, "An unhandled exception occurred in the plugin image downloader"); + } + }); return false; }