Explorar o código

Use better exception logging

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
gnattu hai 1 ano
pai
achega
475fa36ea3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      MediaBrowser.Providers/MediaInfo/AudioFileProber.cs

+ 1 - 1
MediaBrowser.Providers/MediaInfo/AudioFileProber.cs

@@ -189,7 +189,7 @@ namespace MediaBrowser.Providers.MediaInfo
             }
             catch (Exception e)
             {
-                _logger.LogWarning("TagLib-Sharp does not support this audio: {Exception}", e);
+                _logger.LogWarning(e, "TagLib-Sharp does not support this audio");
             }
             finally
             {