Actions
결함 #514
open[버그][P1] 전역 예외 핸들러 부재 + 사용자 입력 parseLong → 400 대신 500
Status:
해결
Priority:
높음
Assignee:
-
Start date:
06/27/2026
Due date:
% Done:
100%
Estimated time:
Description
@ControllerAdvice/@ExceptionHandler 없음. getArtistStats(artistIds), ReportController, FlashcardController가 사용자 body를 parseLong/Long.valueOf 후 미캐치 → NumberFormatException=500. 응답 형식도 엔드포인트마다 불일치.
수정: @RestControllerAdvice로 IllegalArgument/NumberFormat→400, auth→401, 기타→500 통일 {error} 바디.
— 6-페르소나 코드리뷰(2026-06-27)에서 도출. 소스 검증 완료. [AI 등록]
Updated by joungmin ko about 2 months ago
- Status changed from 신규 to 해결
- % Done changed from 0 to 100
커밋 a279c3e. 빌드·재기동·스모크 검증 완료. GlobalExceptionHandler 추가. 잘못된 입력 → 400 {error} 라이브 확인(이전 500). [AI 조치]
Actions