mirror of
https://github.com/Readarr/Readarr
synced 2025-12-27 10:43:01 +01:00
Fixed: Null reference processing failed import for unknown book
This commit is contained in:
parent
3c3f3a4d90
commit
be09385c9d
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue