From 984b0ca0d56d05b33df7a235bd6eebdfe0a77117 Mon Sep 17 00:00:00 2001 From: Hamm Date: Wed, 29 May 2024 17:04:08 +0800 Subject: [PATCH] =?UTF-8?q?fix(Bug):=20=E4=BC=98=E5=8C=96=E4=BA=86?= =?UTF-8?q?=E4=B8=80=E4=BA=9B=E5=B7=B2=E7=9F=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/cn/hamm/airpower/exception/ServiceException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airpower-core/src/main/java/cn/hamm/airpower/exception/ServiceException.java b/airpower-core/src/main/java/cn/hamm/airpower/exception/ServiceException.java index 14a4a4f..85489a0 100644 --- a/airpower-core/src/main/java/cn/hamm/airpower/exception/ServiceException.java +++ b/airpower-core/src/main/java/cn/hamm/airpower/exception/ServiceException.java @@ -76,6 +76,6 @@ public class ServiceException extends RuntimeException implements IException { * @param exception 异常 */ public ServiceException(@NotNull Exception exception) { - this.setCode(ServiceError.EMAIL_ERROR.getCode()).setMessage(exception.getMessage()); + this.setCode(ServiceError.SERVICE_ERROR.getCode()).setMessage(exception.getMessage()); } } -- Gitee