From 82ff77fbe632b3f6b64bd169fcbc4825701e6aaa Mon Sep 17 00:00:00 2001 From: JonasBollack <825545356@qq.com> Date: Tue, 20 Oct 2020 17:09:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=B8=8B=E6=96=87?= =?UTF-8?q?=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/fr/plugin/pack/http/PackHttpHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/fr/plugin/pack/http/PackHttpHandler.java b/src/main/java/com/fr/plugin/pack/http/PackHttpHandler.java index 5506015..4b43dd6 100644 --- a/src/main/java/com/fr/plugin/pack/http/PackHttpHandler.java +++ b/src/main/java/com/fr/plugin/pack/http/PackHttpHandler.java @@ -136,10 +136,10 @@ public class PackHttpHandler extends BaseHttpHandler { private static FineRespond handleException(Exception e) { if (e instanceof ReportExceedException) { - return FineRespond.fail(((ReportExceedException) e).errorCode(), e.getMessage()); + return FineRespond.fail(((ReportExceedException) e).errorCode(), "模板并发访问超过最大限制"); } if (e instanceof WidgetExceedException) { - return FineRespond.fail(((WidgetExceedException) e).errorCode(), e.getMessage()); + return FineRespond.fail(((WidgetExceedException) e).errorCode(), "组件并发访问超过最大限制"); } return Reflect.on(BaseAction.class).call("getExceptionRespond", e).get(); }