Fixed: ImportList Fails on Album Not Found

Fixes #1725
This commit is contained in:
Qstick 2021-01-24 12:46:50 -05:00
commit 0c6468d63a

View file

@ -276,7 +276,7 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
existingAlbum.Artist = _artistService.GetArtist(existingAlbum.ArtistId); existingAlbum.Artist = _artistService.GetArtist(existingAlbum.ArtistId);
return new List<Album> { existingAlbum }; return new List<Album> { existingAlbum };
} }
catch (ArtistNotFoundException) catch (AlbumNotFoundException)
{ {
return new List<Album>(); return new List<Album>();
} }