Guard against early exit on container exceptions
This commit is contained in:
parent
7da9a9d905
commit
47e6ca535e
1 changed files with 8 additions and 2 deletions
|
|
@ -223,8 +223,14 @@ namespace MatterHackers.MatterControl.Library
|
|||
|
||||
if (thumbnail == null && libraryContainer != null)
|
||||
{
|
||||
// Ask the container - allows the container to provide its own interpretation of the item thumbnail
|
||||
thumbnail = await libraryContainer.GetThumbnail(libraryItem, thumbWidth, thumbHeight);
|
||||
try
|
||||
{
|
||||
// Ask the container - allows the container to provide its own interpretation of the item thumbnail
|
||||
thumbnail = await libraryContainer.GetThumbnail(libraryItem, thumbWidth, thumbHeight);
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
if (thumbnail == null && libraryItem is IThumbnail)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue