• Michael Stummvoll's avatar
    Support `error.include-stacktrace` configuration · a1e0f011
    Michael Stummvoll authored
    Add `error.include-stacktrace` configuration option to determine when
    stack trace attributes should be added. Options are `never`, `always`
    or `on-trace-param`.
    
    Prior to this commit stacktrace attributes were never includes in HTML
    responses, and only included in JSON responses when a `trace` request
    parameter was set to `true`. This has now been changed so that,
    by default, stacktrace attributes are never included.
    
    The BasicErrorController includes a protected method that can be
    overridden if includes should be different depending on the `produces`
    mapping.
    
    Closes gh-2371
    a1e0f011
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-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-tools 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...