Skip to content

Commit

Permalink
chore: (#251) 예외 메시지 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
khcho0125 committed Dec 22, 2022
1 parent fcfc1f8 commit 02bc10c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class AppointHolidayUseCase(
?: throw UserExceptions.NotFound()

val holidayPeriod = queryHolidayPeriodPort.queryHolidayPeriodByYearAndMonthAndSpotId(date.year, date.monthValue, user.spotId)
?: throw HolidayExceptions.NotFound("아직 작성 기간이 등록되지 않았습니다.")
?: throw HolidayExceptions.NotFound("휴무표 작성 기간이 등록되지 않았습니다.")

val today = LocalDate.now()

Expand Down

0 comments on commit 02bc10c

Please sign in to comment.