Use better exception logging

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
gnattu 2024-05-28 20:23:03 +08:00 committed by GitHub
parent e8d1ee0934
commit 475fa36ea3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
{