Catching predb.me errors hopefully.

pull/2/head
Leonardo Galli 8 years ago
parent d33ec334f3
commit 63d7596e98

@ -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;
}
}
}
}

Loading…
Cancel
Save