Skip to content
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

feat-be(Global Exception): 최상단 예외 필터링 핸들 추가 #622

Merged
merged 2 commits into from
Aug 22, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 22, 2024

목적

현재 프론트에서 예외에 대해 토스트 메세지를 통한 에러 핸들링을 전부 다 해주지는 못하고 있습니다.
따라서 지정해준 예외 외에는 백엔드에서 전송한 message를 그대로 표시하고 있습니다.
따라서 백엔드 측에서 특정 예외 외의 핸들링하고 있지 않는 최상위 부모 예외 클래스를 핸들링하여 응답을 보냅니다.

작업 세부사항

  • GlobalException Handler에 메서드 추가

참고 사항

아래의 별표줄 밑에 요구사항 ID만 작성해주세요. Prefix 금지!


HANDLE_EXCEPTION_01

closes #621

@github-actions github-actions bot added backend 백엔드 feature 새로운 기능 labels Aug 22, 2024
@github-actions github-actions bot added this to the 스프린트 3.0 milestone Aug 22, 2024
@Dobby-Kim Dobby-Kim marked this pull request as ready for review August 22, 2024 15:37
Copy link
Contributor Author

1724341072.976379

Copy link
Contributor Author

📌 Test Coverage Report

Overall Project 76.99% -0.12%
Files changed 0%

File Coverage
GlobalExceptionHandler.java 73.2% -8.25%

Copy link
Member

@Chocochip101 Chocochip101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻

@Dobby-Kim Dobby-Kim merged commit 559c5bc into be/develop Aug 22, 2024
26 checks passed
@Dobby-Kim Dobby-Kim deleted the be-621-HANDLE_EXCEPTION_01 branch August 22, 2024 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend 백엔드 feature 새로운 기능
Projects
Status: 완료
Development

Successfully merging this pull request may close these issues.

3 participants