1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-17 21:26:22 -04:00

Validate newznab indexers when adding

This commit is contained in:
Mark McDowall
2013-09-25 19:51:07 -07:00
parent 34b5a833f5
commit f0e721ee80
8 changed files with 87 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ namespace NzbDrone.Core.Exceptions
switch (statusCode)
{
case HttpStatusCode.BadRequest:
throw new BadRequestException(statusCode, message);
throw new BadRequestException(message);
case HttpStatusCode.Unauthorized:
throw new UnauthorizedAccessException(message);