Browse Source

Use better exception logging

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
gnattu 1 year ago
parent
commit
475fa36ea3
1 changed files with 1 additions and 1 deletions
  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
             {