• Andy Wilkinson's avatar
    Make sure the MetricsFilter uses committed response's status · 97e5e324
    Andy Wilkinson authored
    Previously, if an exception was thrown during request handling after
    the response had been committed, i.e. after the status and headers
    had been written, the metrics filter would assume that it was a 500
    response. This was potentially inaccurate as the status had already
    been sent to the client and before the exception was thrown and it
    may have been something other than a 500.
    
    This commit updates MetricsFilter so that it will use the
    status from the response if the response has been committed even when
    an exception is thrown.
    
    Closes gh-7277
    97e5e324
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs 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-devtools 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-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml 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...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...