Fixed SkyHookSearch tests.

This commit is contained in:
Taloth Saldono
2015-08-12 22:53:51 +02:00
parent 9bcb6ff19a
commit 372ba13fd2
4 changed files with 63 additions and 155 deletions
@@ -74,14 +74,9 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
{
return new List<Series> { GetSeriesInfo(tvdbId).Item1 };
}
catch (Common.Http.HttpException ex)
catch (SeriesNotFoundException)
{
if (ex.Response.StatusCode == HttpStatusCode.NotFound)
{
return new List<Series>();
}
throw;
return new List<Series>();
}
}