Skip to content

Commit

Permalink
[BE] chore: 존재하지 않는 경로로 요청 왔을 때, 예외 메시지만 로깅 (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
takoyakimchi authored Nov 4, 2024
1 parent 090ea57 commit a2e29e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public ResponseEntity<ApiResponse<ErrorResponse>> handle(HttpRequestMethodNotSup

@ExceptionHandler(NoResourceFoundException.class)
public ResponseEntity<ApiResponse<ErrorResponse>> handle(NoResourceFoundException exception) {
log.warn(exception.getMessage(), exception);
log.warn(exception.getMessage());

ErrorResponse errorResponse = new ErrorResponse(
ErrorCode.DEFAULT_ERROR_CODE,
Expand Down

0 comments on commit a2e29e1

Please sign in to comment.