Throw InvalidParameterValueException for failing ApiArgValidator#3108
Throw InvalidParameterValueException for failing ApiArgValidator#3108yadvr merged 1 commit intoapache:masterfrom anuragaw:ApiArgValidatorCorrectException
Conversation
This is important because it helps in communicating back the exact error to the API callee. Current behavior is that ParamProcessWorker#processParameters catches the exception and returns an incorrect type exception without the proper message.
|
@blueorangutan package |
|
@anuragaw a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2502 |
|
@blueorangutan test |
|
@anuragaw a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3272)
|
This is important because it helps in communicating back the exact
error to the API callee.
Current behavior is that ParamProcessWorker#processParameters catches
the exception and returns an incorrect type exception without the
proper message.
Description
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
Use Cloudmonkey to call an API which has ApiArgValidator set for params. This does not return the proper exception message but sends an internal error occured with no information.