You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IOException or HttpMessageNotReadableException are problems while reading the response body which can only be read once. This is why the code here raises a plain RestClientException. By contrast for 4xx and 5xx we raise RestClientResponseException (or one of its sub-classes) with the body.
Technical Description (How are we going to achieve the above)
Potential Issues
Dependencies
Technical Requirements
Outside People/Teams
Changes
The text was updated successfully, but these errors were encountered:
averyniceday
changed the title
Handle HTML errors in all RestTemple requests in CVR
Handle HTML errors in all RestTemple requests in CVR (easy win)
Dec 7, 2021
Done Condition (What do we need? Why do we need it? Keep this is small as possible!)
In all RestTemplate requests we should handle getting an exception that includes an HTML response, e.g. https://github.com/knowledgesystems/cmo-pipelines/pull/907/files. We might also want to output the status code.
Note (from: spring-projects/spring-framework#24964):
Technical Description (How are we going to achieve the above)
Potential Issues
Dependencies
Technical Requirements
Outside People/Teams
Changes
The text was updated successfully, but these errors were encountered: