-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Open
Labels
type: enhancementA general enhancementA general enhancement
Milestone
Description
- clone simple project: https://github.com/stepancheg/spring-boot-whitelabel
project contains controller with function
@RequestMapping("/throw")
@ResponseBody
public String t() {
throw new RuntimeException();
}
and project calls
System.setProperty("error.whitelabel.enabled", "false");
before main.
- run main class (demo.Application)
- point browser to http://localhost:8080/throw
Browser displays white page. Expecting something more sensible. Tomcat default error handler would be perfect.
Using spring-boot 1.2.0.RC2.
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement