mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Fixed: Don't Fail Artist Refresh if Album Refresh fails (#5567)
This commit is contained in:
parent
d2330a3232
commit
ad1825f63e
1 changed files with 8 additions and 1 deletions
|
@ -340,7 +340,14 @@ namespace NzbDrone.Core.Music
|
||||||
(updatedMusicbrainzAlbums == null && _checkIfAlbumShouldBeRefreshed.ShouldRefresh(album)) ||
|
(updatedMusicbrainzAlbums == null && _checkIfAlbumShouldBeRefreshed.ShouldRefresh(album)) ||
|
||||||
(updatedMusicbrainzAlbums != null && updatedMusicbrainzAlbums.Contains(album.ForeignAlbumId)))
|
(updatedMusicbrainzAlbums != null && updatedMusicbrainzAlbums.Contains(album.ForeignAlbumId)))
|
||||||
{
|
{
|
||||||
updated |= RefreshAlbumInfo(album, remoteAlbums, forceUpdateFileTags);
|
try
|
||||||
|
{
|
||||||
|
updated |= RefreshAlbumInfo(album, remoteAlbums, forceUpdateFileTags);
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
_logger.Error(e, "Couldn't refresh info for album {0}", album.Title);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue