Browse Source

修改一下文案

pull/1/head
JonasBollack 4 years ago
parent
commit
82ff77fbe6
  1. 4
      src/main/java/com/fr/plugin/pack/http/PackHttpHandler.java

4
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();
}

Loading…
Cancel
Save