Skip to content

Fix: 10MB 초과 파일 업로드 시 500 에러 응답 수정 - #253

Merged
jjh75607 merged 1 commit into
devfrom
fix/#245
May 31, 2026
Merged

Fix: 10MB 초과 파일 업로드 시 500 에러 응답 수정#253
jjh75607 merged 1 commit into
devfrom
fix/#245

Conversation

@jjh75607

Copy link
Copy Markdown
Contributor

- resolve-lazily=true 설정으로 MaxUploadSizeExceededException을 DispatcherServlet 안에서 포착
- ApiRestExceptionHandler에 handleMaxUploadSize() 추가 → HTTP 400 + FILE_SIZE_EXCEEDED 반환

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jjh75607 jjh75607 self-assigned this May 31, 2026
@jjh75607 jjh75607 added the Fix label May 31, 2026
@coderabbitai

coderabbitai Bot commented May 31, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@jjh75607, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 9 minutes and 40 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 9a99b91e-eb0b-4e77-9732-f4078f50da66

📥 Commits

Reviewing files that changed from the base of the PR and between 1026744 and 48b1c21.

📒 Files selected for processing (3)
  • src/main/java/soon/fridgely/global/support/exception/ApiRestExceptionHandler.java
  • src/main/resources/application.yml
  • src/test/java/soon/fridgely/global/support/exception/ApiRestExceptionHandlerTest.java
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/#245

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.

@jjh75607
jjh75607 merged commit 1026dd3 into dev May 31, 2026
2 checks passed
@jjh75607
jjh75607 deleted the fix/#245 branch May 31, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix: 10MB 초과 파일 업로드 시 500 에러 응답 수정

1 participant