Skip to content

Commit 34f3c2d

Browse files
committed
hotfix: 400에러일때 슬랙 알림 안가게 변경
1 parent 176557c commit 34f3c2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/ssu/eatssu/global/handler/GlobalExceptionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ protected ResponseEntity<Object> handleExceptionInternal(
239239

240240
HttpStatus status = HttpStatus.valueOf(statusCode.value());
241241

242-
if (status.is4xxClientError() || status.is5xxServerError()) {
242+
if (status.is5xxServerError()) {
243243
slackErrorNotifier.notify(new BaseException(BaseResponseStatus.BAD_REQUEST));
244244
}
245245

0 commit comments

Comments
 (0)