JAVA-2297: Update "Spring Boot custom error page" article

This commit is contained in:
sampadawagde
2020-08-02 23:17:57 +05:30
parent 8cda5bcaec
commit 47418ab40e
3 changed files with 8 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ public class MyErrorController implements ErrorController {
@Override
public String getErrorPath() {
return "/error";
return null;
}
}

View File

@@ -5,3 +5,4 @@
#spring.banner.image.height= //TODO
#spring.banner.image.margin= //TODO
#spring.banner.image.invert= //TODO
server.error.path=/error