diff --git a/service/src/main/kotlin/com/sangdol/roomescape/reservation/business/ReservationValidator.kt b/service/src/main/kotlin/com/sangdol/roomescape/reservation/business/ReservationValidator.kt index 84fea83b..9eb230aa 100644 --- a/service/src/main/kotlin/com/sangdol/roomescape/reservation/business/ReservationValidator.kt +++ b/service/src/main/kotlin/com/sangdol/roomescape/reservation/business/ReservationValidator.kt @@ -21,17 +21,17 @@ class ReservationValidator { request: PendingReservationCreateRequest ) { if (schedule.status != ScheduleStatus.HOLD) { - log.warn { "[ReservationValidator.validateCanCreate] ${schedule.status}로의 일정 상태 변경에 따른 실패" } + log.warn { "[validateCanCreate] ${schedule.status}로의 일정 상태 변경에 따른 실패" } throw ReservationException(ReservationErrorCode.EXPIRED_HELD_SCHEDULE) } if (theme.minParticipants > request.participantCount) { - log.info { "[ReservationValidator.validateCanCreate] 최소 인원 미달로 인한 예약 실패: minParticipants=${theme.minParticipants}, participantCount=${request.participantCount}" } + log.info { "[validateCanCreate] 최소 인원 미달로 인한 예약 실패: minParticipants=${theme.minParticipants}, participantCount=${request.participantCount}" } throw ReservationException(ReservationErrorCode.INVALID_PARTICIPANT_COUNT) } if (theme.maxParticipants < request.participantCount) { - log.info { "[ReservationValidator.validateCanCreate] 최대 인원 초과로 인한 예약 실패: minParticipants=${theme.minParticipants}, participantCount=${request.participantCount}" } + log.info { "[validateCanCreate] 최대 인원 초과로 인한 예약 실패: minParticipants=${theme.minParticipants}, participantCount=${request.participantCount}" } throw ReservationException(ReservationErrorCode.INVALID_PARTICIPANT_COUNT) } }