xiaochan 2 månader sedan
förälder
incheckning
1389d00068
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/main/java/thyyxxk/webserver/config/exception/BizException.java

+ 1 - 1
src/main/java/thyyxxk/webserver/config/exception/BizException.java

@@ -31,7 +31,7 @@ public class BizException extends RuntimeException {
     public BizException(ExceptionEnumInterface errorEnum, String message) {
         super(message);
         this.code = errorEnum.getCode();
-        this.msg = errorEnum.getMessage();
+        this.msg = message;
     }
 
     public BizException(ExceptionEnumInterface errorEnum, Throwable cause) {