From b3465d0bf3c0a713d616dfb0666afa587bff0870 Mon Sep 17 00:00:00 2001 From: fengyw Date: Sat, 30 Dec 2023 15:24:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BC=82=E5=B8=B8=E5=A4=84=E7=90=86?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/roncoo/education/common/service/HandlerException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roncoo-education-common/roncoo-education-common-service/src/main/java/com/roncoo/education/common/service/HandlerException.java b/roncoo-education-common/roncoo-education-common-service/src/main/java/com/roncoo/education/common/service/HandlerException.java index 211931d8..b886e6c7 100644 --- a/roncoo-education-common/roncoo-education-common-service/src/main/java/com/roncoo/education/common/service/HandlerException.java +++ b/roncoo-education-common/roncoo-education-common-service/src/main/java/com/roncoo/education/common/service/HandlerException.java @@ -22,7 +22,7 @@ import java.util.StringJoiner; public class HandlerException extends BaseController { @ExceptionHandler({FeignException.class}) - @ResponseStatus(HttpStatus.OK) + @ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR) public Result processBizException(FeignException e) { String msg = e.getMessage(); if (!StringUtils.hasText(msg)) { -- GitLab