Skip to content

[Debug] 500 에러 원인 파악을 위한 예외 핸들러 로깅 추가#192

Merged
unam98 merged 3 commits intomainfrom
dev
Apr 30, 2026
Merged

[Debug] 500 에러 원인 파악을 위한 예외 핸들러 로깅 추가#192
unam98 merged 3 commits intomainfrom
dev

Conversation

@unam98
Copy link
Copy Markdown
Collaborator

@unam98 unam98 commented Apr 30, 2026

작업 배경

  • POST /api/course 에서 HTTP 500 지속 발생
  • handleException이 에러를 Slack/Sentry로만 전달하고 서버 로그에 남기지 않아 원인 파악 불가
  • 실제 예외 확인을 위한 임시 로깅 추가

변경 사항

파일 변경 내용
ControllerExceptionAdvice.java handleExceptionlog.error 한 줄 추가
dev-ci.yml CI에서 DB 없이 빌드 가능하도록 -x test 추가

영향 범위

  • 500 에러 발생 시 nohup.out에 스택 트레이스 출력
  • 기존 Slack/Sentry 동작 변경 없음

Test Plan

  • dev CI 통과 확인
  • 배포 후 POST /api/course 실패 시 nohup.out 에러 확인
  • 원인 파악 후 실제 버그 수정 PR 별도 진행

🤖 Generated with Claude Code

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 30, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 2cde9b2c-fe03-49d0-aebe-7832370ccb3c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@unam98 unam98 merged commit 6fc0409 into main Apr 30, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant