Skip to content

Commit

Permalink
Use better exception logging
Browse files Browse the repository at this point in the history
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
  • Loading branch information
gnattu and cvium committed May 28, 2024
1 parent e8d1ee0 commit 475fa36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MediaBrowser.Providers/MediaInfo/AudioFileProber.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private async Task FetchDataFromTags(Audio audio, Model.MediaInfo.MediaInfo medi
}
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
{
Expand Down

0 comments on commit 475fa36

Please sign in to comment.