浏览代码

Use better exception logging

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
gnattu 1 年之前
父节点
当前提交
475fa36ea3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
             {