Changed: Add ChannelPositionText to SentryWarn

pull/2/head
Qstick 5 years ago
parent 526e091d22
commit 31c73fe448

@ -464,8 +464,8 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
catch (Exception) catch (Exception)
{ {
Logger.Warn() Logger.Warn()
.Message("Unable to format audio channels using 'AudioChannelPositions', with a value of: '{0}'", audioChannelPositions) .Message("Unable to format audio channels using 'AudioChannelPositions', with a value of: '{0}' and '{1}'", audioChannelPositions, mediaInfo.AudioChannelPositionsText)
.WriteSentryWarn("UnknownAudioChannelFormat", mediaInfo.AudioChannels.ToString(), mediaInfo.AudioFormat, audioChannelPositions, mediaInfo.AudioChannelPositionsText) .WriteSentryWarn("UnknownAudioChannelFormat", audioChannelPositions, mediaInfo.AudioChannelPositionsText)
.Write(); .Write();
} }

Loading…
Cancel
Save