Skip to content

Conversation

@tape4
Copy link
Member

@tape4 tape4 commented Jul 6, 2025

변경 사항

  • 리스너 Phase 변경
    @TransactionalEventListener 실행 시점을 BEFORE_COMMITAFTER_COMMIT으로 수정하여 DB 커밋 후 S3 작업 실행
  • afterCommit 예외 처리 추가
    S3 copyObject/deleteObject 호출을 try–catch로 감싸고, 에러 발생 시 로그 출력 후 예외 재던지기
  • sendToDiscord 예외 처리 추가
    @Async로 실행되는 Discord 웹훅 전송을 try–catch로 감싸고, 전송 실패 시 경고 로그만 남기도록 수정

tape4 added 3 commits July 7, 2025 02:52
- Log errors with tempKey and fixedKey
- Rethrow exception so @AfterThrowing aspect can pick it up
- Catch RestTemplate/IO errors and log warning
- Prevent async exceptions from bubbling up
@tape4 tape4 requested a review from SiwonHae as a code owner July 6, 2025 18:17
@tape4 tape4 merged commit 3979c13 into develop Jul 6, 2025
1 check 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.

2 participants