fix: ScheduleService에서 일정 조회시 성공 로깅 추가

This commit is contained in:
이상진 2025-09-04 12:37:39 +09:00
parent e0d5ed5af0
commit 250834ab9e

View File

@ -115,6 +115,7 @@ class ScheduleService(
log.info { "[ScheduleService.findOrThrow] 일정 조회 시작: id=$id" }
return scheduleRepository.findByIdOrNull(id)
?.also { log.info { "[ScheduleService.findOrThrow] 일정 조회 완료: id=$id" } }
?: run {
log.warn { "[ScheduleService.updateSchedule] 일정 조회 실패. id=$id" }
throw ScheduleException(ScheduleErrorCode.SCHEDULE_NOT_FOUND)