Skip to content

Commit

Permalink
chore: 에러 코드 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Soundbar91 committed Nov 20, 2024
1 parent 4386213 commit 7aa585f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public ResponseEntity<Object> handleOptimisticLockException(
) {
log.warn(e.getMessage());
requestLogging(((ServletWebRequest)request).getRequest());
return buildErrorResponse(HttpStatus.INTERNAL_SERVER_ERROR, e.getMessage());
return buildErrorResponse(HttpStatus.CONFLICT, e.getMessage());
}

@ExceptionHandler(Exception.class)
Expand Down

0 comments on commit 7aa585f

Please sign in to comment.