Address comments

This commit is contained in:
Michael Bucari-Tovo 2022-05-10 20:43:07 -06:00
parent 9a50aa4c7c
commit dd8b0783a9
2 changed files with 16 additions and 14 deletions

View file

@ -295,7 +295,7 @@ namespace FileLiberator
(libraryBook.Book.PictureLarge, PictureSize.Native);
var picBytes = PictureStorage.GetPictureSynchronously(new PictureDefinition(picId, size));
if (picBytes.Length > 0)
File.WriteAllBytes(coverPath, picBytes);
}
@ -303,7 +303,7 @@ namespace FileLiberator
{
//Failure to download cover art should not be
//considered a failure to download the book
Serilog.Log.Logger.Error(ex.Message);
Serilog.Log.Logger.Error(ex, $"Error downloading cover art of {libraryBook.Book.AudibleProductId} to {coverPath} catalog product.");
}
}