1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-03-03 15:12:13 +02:00

Fixed: Roksbox SeriesImages can lead to NullRef

This commit is contained in:
Qstick 2019-04-22 21:21:40 -04:00 committed by Mark McDowall
parent 0eb7973ab0
commit c10448af0b

View File

@ -189,7 +189,7 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Roksbox
if (image == null)
{
_logger.Trace("Failed to find suitable Series image for series {0}.", series.Title);
return null;
return new List<ImageFileResult>();
}
var source = _mediaCoverService.GetCoverPath(series.Id, image.CoverType);