Skip to content

Commit

Permalink
🐛 common exception handler 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
semi-cloud committed Nov 12, 2024
1 parent 11116df commit 704c00d
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class CommonExceptionHandler {
logger.error(
message = e.message,
code = ResponseCode.INTERNAL_SERVER_ERROR,
stackTrace = e.stackTrace.contentToString()
ex = e
)
return ResponseEntity(CommonResponse.fail(), HttpStatus.INTERNAL_SERVER_ERROR)
}
Expand All @@ -29,7 +29,7 @@ class CommonExceptionHandler {
logger.error(
message = e.message,
code = e.code,
stackTrace = e.stackTrace.contentToString()
ex = e
)
return ResponseEntity(CommonResponse.fail(e.code), e.code.httpStatus)
}
Expand All @@ -39,7 +39,7 @@ class CommonExceptionHandler {
logger.error(
message = e.message,
code = e.code,
stackTrace = e.stackTrace.contentToString()
ex = e
)
return ResponseEntity(CommonResponse.fail(e.code), e.code.httpStatus)
}
Expand All @@ -49,7 +49,7 @@ class CommonExceptionHandler {
logger.error(
message = e.message,
code = e.code,
stackTrace = e.stackTrace.contentToString()
ex = e
)
return ResponseEntity(CommonResponse.fail(e.code), e.code.httpStatus)
}
Expand All @@ -59,7 +59,7 @@ class CommonExceptionHandler {
logger.error(
message = e.message,
code = e.code,
stackTrace = e.stackTrace.contentToString()
ex = e
)
return ResponseEntity(CommonResponse.fail(e.code), e.code.httpStatus)
}
Expand All @@ -69,7 +69,7 @@ class CommonExceptionHandler {
logger.error(
message = e.message,
code = e.code,
stackTrace = e.stackTrace.contentToString()
ex = e
)
return ResponseEntity(CommonResponse.fail(e.code), e.code.httpStatus)
}
Expand Down

0 comments on commit 704c00d

Please sign in to comment.