mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
Handle anything else that blew up
This commit is contained in:
parent
d8c3e536e1
commit
0678dea18c
1 changed files with 8 additions and 1 deletions
|
|
@ -1827,7 +1827,14 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
if (!hasImages)
|
if (!hasImages)
|
||||||
{
|
{
|
||||||
this.pluginImagesMap.Add(manifest.InternalName, Array.Empty<TextureWrap>());
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue