-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BE] Health Check API 구현 & 404 에러 핸들러 추가 #95
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
public class CommonErrorController { | ||
|
||
@ExceptionHandler | ||
public ResponseEntity<ApiErrorResponse> handleNoResourceFoundException(NoResourceFoundException e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기 파라미터에 final... 😅
@RestControllerAdvice | ||
public class CommonErrorController { | ||
|
||
@ExceptionHandler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ExceptionHandler | |
@ExceptionHandler(NoResourceFoundException.class) |
페어룸 익셉션 핸들러에는 예외 클래스 명시해줬습니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
연관된 이슈
구현한 기능
상세 설명
서버 상태를 간단하게 점검할 수 있는 Health Check API와 404 응답을 내려줄 에러 핸들러를 추가하였다.