mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
Fix exception logging
This commit is contained in:
@@ -162,7 +162,7 @@ namespace MediaBrowser.Api.Playback
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError("Error disposing log stream", ex);
|
||||
_logger.LogError(ex, "Error disposing log stream");
|
||||
}
|
||||
|
||||
LogFileStream = null;
|
||||
@@ -179,7 +179,7 @@ namespace MediaBrowser.Api.Playback
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError("Error disposing TranscodingThrottler", ex);
|
||||
_logger.LogError(ex, "Error disposing TranscodingThrottler");
|
||||
}
|
||||
|
||||
TranscodingThrottler = null;
|
||||
@@ -196,7 +196,7 @@ namespace MediaBrowser.Api.Playback
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError("Error closing media source", ex);
|
||||
_logger.LogError(ex, "Error closing media source");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user