mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 08:15:28 +03:00
Fix exception logging
This commit is contained in:
@@ -367,7 +367,7 @@ namespace MediaBrowser.Api.Playback.Hls
|
||||
}
|
||||
catch (IOException ex)
|
||||
{
|
||||
Logger.LogError("Error deleting partial stream file(s) {0}", ex, path);
|
||||
Logger.LogError(ex, "Error deleting partial stream file(s) {path}", path);
|
||||
|
||||
var task = Task.Delay(100);
|
||||
Task.WaitAll(task);
|
||||
@@ -375,7 +375,7 @@ namespace MediaBrowser.Api.Playback.Hls
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Logger.LogError("Error deleting partial stream file(s) {0}", ex, path);
|
||||
Logger.LogError(ex, "Error deleting partial stream file(s) {path}", path);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user