TelepathicWalrus преди 1 година
родител
ревизия
538f141b4c
променени са 1 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 6 2
      Emby.Server.Implementations/Library/LiveStreamHelper.cs

+ 6 - 2
Emby.Server.Implementations/Library/LiveStreamHelper.cs

@@ -64,9 +64,13 @@ namespace Emby.Server.Implementations.Library
 
                     await jsonStream.DisposeAsync().ConfigureAwait(false);
                 }
-                catch
+                catch (IOException)
                 {
-                    _logger.LogError("Could not open cached media info");
+                    _logger.LogDebug("Could not open cached media info");
+                }
+                catch (Exception ex)
+                {
+                    _logger.LogError(ex, "Error opening cached media info");
                 }
             }