stacktrace 로그 제거

master
mjkhan21 1 year ago
parent b8b65e1fb2
commit 20b34f5e61

@ -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)

Loading…
Cancel
Save