mirror of
https://github.com/Radarr/Radarr
synced 2025-01-01 12:54:21 +00:00
Catching predb.me errors hopefully.
This commit is contained in:
parent
d33ec334f3
commit
63d7596e98
1 changed files with 18 additions and 9 deletions
|
@ -170,6 +170,8 @@ public void Execute(PreDBSyncCommand message)
|
|||
}
|
||||
|
||||
public bool HasReleases(Movie movie)
|
||||
{
|
||||
try
|
||||
{
|
||||
var results = GetResults("movies", movie.Title);
|
||||
|
||||
|
@ -190,5 +192,12 @@ public bool HasReleases(Movie movie)
|
|||
|
||||
return false;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.Warn(ex, "Error while looking on predb.me.");
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue