From d5e494810bf8d336dbf5423d0a41f9d5fd5ffbed Mon Sep 17 00:00:00 2001 From: shimingxy Date: Sun, 17 May 2020 11:58:38 +0800 Subject: [PATCH] v 1.5.0 RC2 v 1.5.0 RC2 --- .../src/main/java/org/maxkey/web/ExceptionEndpoint.java | 7 +++---- maxkey-web-maxkey/src/main/resources/spring/maxkey.xml | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/maxkey-core/src/main/java/org/maxkey/web/ExceptionEndpoint.java b/maxkey-core/src/main/java/org/maxkey/web/ExceptionEndpoint.java index 7f7c0d4b1..70c0e3cf1 100644 --- a/maxkey-core/src/main/java/org/maxkey/web/ExceptionEndpoint.java +++ b/maxkey-core/src/main/java/org/maxkey/web/ExceptionEndpoint.java @@ -21,7 +21,7 @@ public class ExceptionEndpoint { @RequestMapping(value = { "/exception/error/400" }) public ModelAndView error400( HttpServletRequest request, HttpServletResponse response) { - _logger.debug("exception/400 "); + _logger.debug("Exception BAD_REQUEST"); return new ModelAndView("exception/400"); } @@ -34,14 +34,13 @@ public class ExceptionEndpoint { @RequestMapping(value = { "/exception/error/404" }) public ModelAndView error404( HttpServletRequest request, HttpServletResponse response) { - - _logger.debug("exception/404 "); + _logger.debug("Exception PAGE NOT_FOUND "); return new ModelAndView("exception/404"); } @RequestMapping(value = { "/exception/error/500" }) public ModelAndView error500(HttpServletRequest request, HttpServletResponse response) { - _logger.debug("exception/500 "); + _logger.debug("Exception INTERNAL_SERVER_ERROR "); return new ModelAndView("exception/500"); } diff --git a/maxkey-web-maxkey/src/main/resources/spring/maxkey.xml b/maxkey-web-maxkey/src/main/resources/spring/maxkey.xml index 2a9d24982..7599162db 100644 --- a/maxkey-web-maxkey/src/main/resources/spring/maxkey.xml +++ b/maxkey-web-maxkey/src/main/resources/spring/maxkey.xml @@ -225,6 +225,7 @@ +