Update error handling

This commit is contained in:
TelepathicWalrus 2024-01-19 17:25:57 +00:00
parent 08592fb3fe
commit 538f141b4c

View File

@ -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");
}
}