From 26871a85f60879dccdf86cb5ad9ad17992b56c2e Mon Sep 17 00:00:00 2001 From: thinkgem Date: Tue, 5 Jan 2021 21:24:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AA=E5=B0=86=E6=9C=AA=E7=9F=A5=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E8=BE=93=E5=87=BA=E5=88=B0=E6=97=A5=E5=BF=97=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/core/src/main/resources/views/error/500.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/core/src/main/resources/views/error/500.html b/modules/core/src/main/resources/views/error/500.html index 8243eb8f..cc831d4a 100644 --- a/modules/core/src/main/resources/views/error/500.html +++ b/modules/core/src/main/resources/views/error/500.html @@ -10,8 +10,7 @@ if (isBlank(message)){ var m = @ExceptionUtils.getExceptionMessage(ex); if (isNotBlank(m)){ message = m; - } - if (!@StringUtils.equals(message, "演示模式,不允许操作!")){ + }else{ @org.slf4j.LoggerFactory.getLogger("error/500").error('', ex); } }