The ManagementErrorEndpoint controller unconditionally disables the inclusion of the trace and errors attributes of an error response, and provides only the default value for the message attribute. Instead, it should honor the server.error.include-stacktrace and server.error.include-details properties in the same way as other error handling paths.