Catching predb.me errors hopefully.

This commit is contained in:
Leonardo Galli 2017-04-11 12:15:52 +02:00
commit 63d7596e98

View file

@ -170,6 +170,8 @@ namespace NzbDrone.Core.MetadataSource.PreDB
}
public bool HasReleases(Movie movie)
{
try
{
var results = GetResults("movies", movie.Title);
@ -190,5 +192,12 @@ namespace NzbDrone.Core.MetadataSource.PreDB
return false;
}
catch (Exception ex)
{
_logger.Warn(ex, "Error while looking on predb.me.");
return false;
}
}
}
}