Skip to content

Commit

Permalink
chore: MAXIMUM_UPLOAD_SIZE_EXCEEDED 에러코드 변경
Browse files Browse the repository at this point in the history
뉴렐릭에서 모니터링하기 위해 500번대 에러로 바꿈
  • Loading branch information
rheeri committed Nov 4, 2024
1 parent 41810cc commit 7396c1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public enum CommonErrorCode implements ErrorCode {
RESOURCE_NOT_FOUND(404, "Resource not exists"),
INTERNAL_SERVER_ERROR(500, "Internal server error"),
IO_EXCEPTION(500, "IoException occurred"),
MAXIMUM_UPLOAD_SIZE_EXCEEDED(413, "Maximum upload size exceeded");
MAXIMUM_UPLOAD_SIZE_EXCEEDED(500, "Maximum upload size exceeded");

private final int httpStatus;
private final String message;
Expand Down

0 comments on commit 7396c1d

Please sign in to comment.