generated from pricelees/issue-pr-template
[#56] 예약 & 결제 프로세스 및 패키지 구조 재정의 #57
@ -25,7 +25,7 @@ class OrderExceptionHandler(
|
|||||||
val httpStatus: HttpStatus = errorCode.httpStatus
|
val httpStatus: HttpStatus = errorCode.httpStatus
|
||||||
val errorResponse = OrderErrorResponse(
|
val errorResponse = OrderErrorResponse(
|
||||||
code = errorCode.errorCode,
|
code = errorCode.errorCode,
|
||||||
message = e.message,
|
message = if (httpStatus.isClientError()) e.message else errorCode.message,
|
||||||
trial = e.trial
|
trial = e.trial
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user