Skip to content

Commit 3ba99c0

Browse files
yongjingchuanyongjingchuan
authored andcommitted
modified
1 parent 5eabe84 commit 3ba99c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/cy/generate/common/exception/CommonException.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public CommonException(String msg, Throwable throwable) {
2828

2929
public CommonException(ErrorCode errorCode) {
3030
super(errorCode.getMessage());
31+
this.errorCode = errorCode;
3132
}
3233

3334
public CommonException(String msg, ErrorCode errorCode) {

0 commit comments

Comments
 (0)