Explorar o código

Log IOException

TelepathicWalrus hai 1 ano
pai
achega
1d235205ae
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Emby.Server.Implementations/Library/LiveStreamHelper.cs

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

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