• Brian Clozel's avatar
    Log unhandled server exceptions in WebFlux · cba6079b
    Brian Clozel authored
    Prior to this commit, errors unhandled by custom `WebExceptionHandler`
    and resulting in an HTTP 500 status would not be logged at ERROR level,
    giving no information to developers about the actual exception.
    
    This commit ensures that such exceptions are logged at the ERROR level
    with their exception. By the time the exception hits the
    `DefaultErrorWebExceptionHandler`, if the response is already committed
    or if the exception is due to a client disconnecting, the error is
    delegated to Framework support as Spring Boot won't be able to render an
    error page as expected.
    
    Fixes gh-15769
    cba6079b
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
spring-boot-project Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-samples-invoker Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...