|
|
@ -104,8 +104,6 @@ public class ExceptionController extends AbstractController {
|
|
|
|
|
|
|
|
|
|
|
|
String description = cause != null ? ifEmpty(cause.getMessage(), () -> cause.getClass().getSimpleName()) : "";
|
|
|
|
String description = cause != null ? ifEmpty(cause.getMessage(), () -> cause.getClass().getSimpleName()) : "";
|
|
|
|
String stacktrace = getStackTrace(cause);
|
|
|
|
String stacktrace = getStackTrace(cause);
|
|
|
|
log().error(description);
|
|
|
|
|
|
|
|
log().error(stacktrace);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return toErrorPage(null, 500, "serverError")
|
|
|
|
return toErrorPage(null, 500, "serverError")
|
|
|
|
.addObject("description", description)
|
|
|
|
.addObject("description", description)
|
|
|
|