This commit is contained in:
2020-01-21 23:37:17 +00:00
parent 5ebf1d9eec
commit 8b8824cabb

View File

@@ -70,6 +70,11 @@ namespace AyaNova.Api.Controllers
{
return StatusCode(403, new ApiNotAuthorizedResponse());
}
catch (System.ArgumentOutOfRangeException e)
{
return BadRequest(new ApiErrorResponse(ApiErrorCode.NOT_FOUND, "DataListKey", e.Message));
}
}