Skip to content

Support 'server.error.include-*' functionality when 'spring.mvc.problemdetails.enabled' is active #33944

Open
@rozagerardo

Description

@rozagerardo

If we add support for the RFC 7807 Problem Details spec by including the spring.mvc.problemdetails.enabled=true property, then the server.error.include-* (e.g. server.error.include-binding-errors=always and server.error.include-message=always) properties are ignored, the response doesn't retrieve the relevant data.

IMO it would be suitable to allow mixing these two features to obtain an application/problem+json response with all the error information we want.

Note: this issue I submitted to the Spring Core project is somewhat related:
spring-projects/spring-framework#29849

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions