Community
Participate
Working Groups
When an HTTP request returns an error code (4XX/5XX), it is processed by CloudControllerResponseErrorHandler (CCREH). On 4XX error codes, CCREH parses the 'description' json out of the body and returns it, whereas with 5XX it just returns the error code. There are some error cases where 5XX return codes do contain a description field, and these can be included in the exception message to provide information to the user.
GitHub Pull Request 49 created by [jgwest] https://github.com/eclipse/cft/pull/49
I pushed a new CF Java client 1.1.4.20170126 that includes support for this fix. I also merged the associated PR in CFT. If possible, please verify that the new Java client and merged code in CFT master works as expected when handling 5xx server errors.
I have verified the fix in the latest Eclipse CFT nightly build. Thanks Nieraj!