Fix exception logging

This commit is contained in:
Bond_009
2018-12-20 13:11:26 +01:00
parent bf01918659
commit ea4c914123
123 changed files with 565 additions and 607 deletions

View File

@@ -278,7 +278,7 @@ namespace MediaBrowser.Api.Playback
}
catch (Exception ex)
{
Logger.LogError("Error starting ffmpeg", ex);
Logger.LogError(ex, "Error starting ffmpeg");
ApiEntryPoint.Instance.OnTranscodeFailedToStart(outputPath, TranscodingJobType, state);
@@ -372,7 +372,7 @@ namespace MediaBrowser.Api.Playback
//}
//catch (Exception ex)
//{
// Logger.LogError("Error disposing ffmpeg.", ex);
// Logger.LogError(ex, "Error disposing ffmpeg.");
//}
}