Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve WebClient error handling [SPR-14852] #19418

spring-projects-issues opened this issue Oct 26, 2016 · 1 comment

Improve WebClient error handling [SPR-14852] #19418

spring-projects-issues opened this issue Oct 26, 2016 · 1 comment


Copy link

@spring-projects-issues spring-projects-issues commented Oct 26, 2016

Sébastien Deleuze opened SPR-14852 and commented

Unlike, does not emit exceptions for HTTP response with 4xx or 5xx status code. This is due to the fact that such a particular status code is not necessarily exceptional for all use cases.

However, for a response body retrieval, these status codes should result in an exception, as the response body typically has a different format, and as such deserialising the body will not work.

Referenced from: commits 7b469f9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants