generated from pricelees/issue-pr-template
[#39] '시간' -> '일정' 스키마 변경으로 테마별 시간 지정 #40
@ -115,6 +115,7 @@ class ScheduleService(
|
|||||||
log.info { "[ScheduleService.findOrThrow] 일정 조회 시작: id=$id" }
|
log.info { "[ScheduleService.findOrThrow] 일정 조회 시작: id=$id" }
|
||||||
|
|
||||||
return scheduleRepository.findByIdOrNull(id)
|
return scheduleRepository.findByIdOrNull(id)
|
||||||
|
?.also { log.info { "[ScheduleService.findOrThrow] 일정 조회 완료: id=$id" } }
|
||||||
?: run {
|
?: run {
|
||||||
log.warn { "[ScheduleService.updateSchedule] 일정 조회 실패. id=$id" }
|
log.warn { "[ScheduleService.updateSchedule] 일정 조회 실패. id=$id" }
|
||||||
throw ScheduleException(ScheduleErrorCode.SCHEDULE_NOT_FOUND)
|
throw ScheduleException(ScheduleErrorCode.SCHEDULE_NOT_FOUND)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user