Project

General

Profile

Actions

결함 #514

open

[버그][P1] 전역 예외 핸들러 부재 + 사용자 입력 parseLong → 400 대신 500

Added by joungmin ko about 2 months ago. Updated about 2 months ago.

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 등록]

Actions

Also available in: Atom PDF