Skip to content

Missing support for UnprocessableContent in WebClientResponseException.create(HttpStatusCode, ..) methods #35802

@hanson76

Description

@hanson76

Sprig Framework 7.0 deprecates HttpStatus.UNPROCESSABLE_ENTITY in favor of HttpStatus.UNPROCESSABLE_CONTENT but the static WebClientResponseException.create(HttpStatusCode statusCode, ...) method is missing it in it's switch statement.

That affects the usage of onErrorResume() on on responses, trying to use onErrorResume(WebClientResponseException.UnprocessableContent, () -> {}) will not be executed

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: waiting-for-triageAn issue we've not yet triaged or decided on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions