• Andy Wilkinson's avatar
    Disable child context's /error endpoint if disabled in parent · e4895f8f
    Andy Wilkinson authored
    Previously, EndpointWebMvcChildContextConfiguration would attempt to
    create a /error endpoint, irrespective of whether or not the parent
    had such an endpoint. If the endpoint was disabled in the parent this
    would cause a failure due to the absence of an ErrorAttributes bean.
    
    This commit updates EndpointWebMvcChildContextConfiguration to make
    the creation of its /error endpoint conditional on the existence of
    an ErrorAttributes bean.
    
    Closes gh-4164
    e4895f8f
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
spring-boot-versions Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...