Exceptions generated from incorrectly filling in the arguments of an endpoint are not escalated to the custom exceptions handler. #356
Labels
accepted
Issue has been accepted and inserted in a future milestone
Milestone
When I invoke a method from my API filling an erroneous argument, for example, the method expects an integer argument and I fill a string argument, an exception is generated as expected, but this exception is not escaleted to the custom exceptions handler that I defined in the 'SetExceptionHandler' method.
Wouldn't it be interesting that this type of exception was also 'escalated' to the personalized management of exceptions?
Example of method call to simulate the situation:
//Correct invoke
GET http://localhost:8080/api/v1/users/1
//Invoke that causes the error
GET http://localhost:8080/api/v1/users/a
As far as I could tell, the call to the 'FillActualParamsForAction' method of the 'TMVCEngine' class is surrounded by a try except, when in fact, it shouldn't.
The text was updated successfully, but these errors were encountered: