Handle anything else that blew up

This commit is contained in:
Raymond 2021-10-09 12:09:15 -04:00
parent d8c3e536e1
commit 0678dea18c

View file

@ -1827,7 +1827,14 @@ namespace Dalamud.Interface.Internal.Windows
if (!hasImages)
{
this.pluginImagesMap.Add(manifest.InternalName, Array.Empty<TextureWrap>());
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;
}