The suggestion that i have proposed didn't hold for much long, i have already hit some cases where it will not work.
But i have another patch in mind that may ease up the pain a bit, but i am still trying to figure out how to make api return correct code status and what is the purpose of wrapping all errors with HTTPExceptionDisguise because i don't think it's a good idea i.e. REST API is broken.
The suggestion that i have proposed didn't hold for much long, i have already hit some cases where it will not work.
But i have another patch in mind that may ease up the pain a bit, but i am still trying to figure out how to make api return correct code status and what is the purpose of wrapping all errors with HTTPExceptionDi sguise because i don't think it's a good idea i.e. REST API is broken.
https:/ /review. openstack. org/#/c/ 45857/ (Patch in question)
Thanks,