generated from pricelees/issue-pr-template
fix: ScheduleService에서 일정 조회시 성공 로깅 추가
This commit is contained in:
parent
e0d5ed5af0
commit
250834ab9e
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user