diff options
| author | Bond_009 <bond.009@outlook.com> | 2020-04-05 21:19:04 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2020-04-05 21:19:04 +0200 |
| commit | 2fcbc2a5b804e8d426dfd014560291d2399ab799 (patch) | |
| tree | df938f05d8f991904f628467e1d408b431198fe8 /Emby.Server.Implementations/Data/SqliteItemRepository.cs | |
| parent | 29539174a3de47c151cc7c7fd192100e6fbe48d7 (diff) | |
Enable nullabe reference types for Emby.Drawing and Jellyfin.Drawing.Skia
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteItemRepository.cs')
| -rw-r--r-- | Emby.Server.Implementations/Data/SqliteItemRepository.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs index 46c6d5520..d3b3f7b7a 100644 --- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs +++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs @@ -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 + { + + } } } |
