Skip to content

Commit

Permalink
fix: 서버 문제 트래킹을 명확히 하기 위해, ViolateDataException을 error 수준으로 로깅함 #28
Browse files Browse the repository at this point in the history
  • Loading branch information
leegwichan committed Jul 20, 2024
1 parent 458cd54 commit de80d87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public ErrorResponse handleBusinessLogicException(BusinessLogicException e) {
@ExceptionHandler
@ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)
public ErrorResponse handleViolateDataException(ViolateDataException e) {
log.warn(e.getMessage());
log.error(e.getMessage());

return new ErrorResponse(SERVER_ERROR_MESSAGE);
}
Expand Down

0 comments on commit de80d87

Please sign in to comment.