From cec9a644df4d23a4cbe04e198b5f025f9f2206ae Mon Sep 17 00:00:00 2001 From: wangkang Date: Wed, 31 May 2017 10:09:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../egridcloud/udf/core/exception/handle/ExceptionMapping.java | 1 + 1 file changed, 1 insertion(+) diff --git a/udf-starter-core/src/main/java/com/egridcloud/udf/core/exception/handle/ExceptionMapping.java b/udf-starter-core/src/main/java/com/egridcloud/udf/core/exception/handle/ExceptionMapping.java index 50c1dae..af2aa2e 100644 --- a/udf-starter-core/src/main/java/com/egridcloud/udf/core/exception/handle/ExceptionMapping.java +++ b/udf-starter-core/src/main/java/com/egridcloud/udf/core/exception/handle/ExceptionMapping.java @@ -126,6 +126,7 @@ public class ExceptionMapping { objectMapper.getTypeFactory().constructParametricType(RestResponse.class, String.class)); //设置子错误 errorResult.setChild(child); + //返回 return new RestResponse<>(ErrorCode.HTTP_ERROR, errorResult); }