spring-boot/spring-boot-docs/src/main
Michael Stummvoll a1e0f01103 Support `error.include-stacktrace` configuration
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
2015-09-28 12:14:38 -07:00
..
asciidoc Support `error.include-stacktrace` configuration 2015-09-28 12:14:38 -07:00
docbook Don't set text color of <code> elements when they're beneath an <a> 2015-07-23 12:06:02 +01:00
groovy Improve formatting of generated doc tables 2014-06-09 20:03:17 -07:00
javadoc Consistent javadoc "code" block formatting 2014-02-11 14:19:01 -08:00
xslt Improve formatting of generated doc tables 2014-06-09 20:03:17 -07:00