mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 15:16:38 +00:00
Fix exception logging
This commit is contained in:
parent
bf01918659
commit
ea4c914123
123 changed files with 565 additions and 607 deletions
|
|
@ -81,7 +81,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError("Error disposing log stream", ex);
|
||||
_logger.LogError(ex, "Error disposing log stream");
|
||||
}
|
||||
|
||||
LogFileStream = null;
|
||||
|
|
@ -98,7 +98,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError("Error closing media source", ex);
|
||||
_logger.LogError(ex, "Error closing media source");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue