Browse Source

Log exception

Bond_009 5 năm trước cách đây
mục cha
commit
10afa4509d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Emby.Server.Implementations/Data/SqliteItemRepository.cs

+ 2 - 2
Emby.Server.Implementations/Data/SqliteItemRepository.cs

@@ -1995,9 +1995,9 @@ namespace Emby.Server.Implementations.Data
                     {
                         chapter.ImageTag = ImageProcessor.GetImageCacheTag(item, chapter);
                     }
-                    catch
+                    catch (Exception ex)
                     {
-
+                        Logger.LogError(ex, "Failed to create image cache tag.");
                     }
                 }
             }