From ee22648a00c7c276958ae06ab1e11971d2d00bb6 Mon Sep 17 00:00:00 2001 From: wumingyu <317808023@qq.com> Date: Thu, 9 May 2019 17:50:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A6=82=E6=9E=9C=E6=98=AF=E5=BC=82=E6=AD=A5?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E6=88=96=E6=98=AF=E6=89=8B=E6=9C=BA=E7=AB=AF?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E5=88=99=E7=9B=B4=E6=8E=A5=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E5=AE=8C=E6=95=B4=E9=94=99=E8=AF=AF=E5=A0=86=E6=A0=88=E4=BF=A1?= =?UTF-8?q?=E6=81=AF(=E6=96=B9=E4=BE=BF=E9=94=99=E8=AF=AF=E6=8E=92?= =?UTF-8?q?=E6=9F=A5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/core/src/main/resources/views/error/500.html | 5 +++-- 1 file changed, 3 insertions(+), 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 db776fae..d8570ea0 100644 --- a/modules/core/src/main/resources/views/error/500.html +++ b/modules/core/src/main/resources/views/error/500.html @@ -24,9 +24,10 @@ if (isBlank(message)){ message = text('sys.error.500.message'); } -// 如果是异步请求或是手机端,则直接返回信息 +// 如果是异步请求或是手机端,则直接返回完整错误堆栈信息 if (@ServletUtils.isAjaxRequest(request)) { - print(@ServletUtils.renderResult(@Global.FALSE, message)); + //print(@ServletUtils.renderResult(@Global.FALSE, message)); + print(@ServletUtils.renderResult(@Global.FALSE, @ExceptionUtils.getStackTraceAsString(ex))); } // 输出异常信息页面