mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-22 06:23:31 -07:00
Handling failure to refresh an album gracefully, so that artist refresh will not stop on the first failed album
This commit is contained in:
parent
6f1b370772
commit
aff90cb404
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 {0}", album);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue