Enable nullabe reference types for Emby.Drawing and Jellyfin.Drawing.Skia

This commit is contained in:
Bond_009
2020-04-05 21:19:04 +02:00
parent 29539174a3
commit 2fcbc2a5b8
10 changed files with 45 additions and 50 deletions

View File

@@ -1991,7 +1991,14 @@ namespace Emby.Server.Implementations.Data
if (!string.IsNullOrEmpty(chapter.ImagePath))
{
chapter.ImageTag = ImageProcessor.GetImageCacheTag(item, chapter);
try
{
chapter.ImageTag = ImageProcessor.GetImageCacheTag(item, chapter);
}
catch
{
}
}
}