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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user