Fixed: Null reference processing failed import for unknown book

This commit is contained in:
ta264 2021-05-12 21:26:52 +01:00
parent 3c3f3a4d90
commit be09385c9d

View file

@ -181,6 +181,11 @@ public void Handle(BookGrabbedEvent message)
public void Handle(BookImportIncompleteEvent message)
{
if (message.TrackedDownload.RemoteBook == null)
{
return;
}
foreach (var book in message.TrackedDownload.RemoteBook.Books)
{
var history = new History