Added logging for cover art functionality

This commit is contained in:
amazing-username
2019-07-17 20:15:07 -04:00
parent 8ec7092272
commit a39c232c34
4 changed files with 35 additions and 17 deletions
+3 -1
View File
@@ -169,10 +169,12 @@ namespace Icarus.Controllers.Managers
{
if (DeleteSongFromFilesystem(song))
{
_logger.Info("Failed to delete the song");
_logger.Error("Failed to delete the song");
throw new Exception("Failed to delete the song");
}
_logger.Info("Song deleted from the filesystem");
var coverMgr = new CoverArtManager(_config.GetValue<string>(
"CoverArtPath"));
var coverArt = coverStore.GetCoverArt(song);