Explorar o código

Log exception

Bond_009 %!s(int64=5) %!d(string=hai) anos
pai
achega
10afa4509d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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.");
                     }
                 }
             }