fix: ThemeServiceV2에서 테마 조회시 성공 로깅 추가

This commit is contained in:
이상진 2025-09-04 12:37:22 +09:00
parent 5d23216e17
commit e0d5ed5af0

View File

@ -119,6 +119,7 @@ class ThemeServiceV2(
log.info { "[ThemeService.findOrThrow] 테마 조회 시작: id=$id" }
return themeRepository.findByIdOrNull(id)
?.also { log.info { "[ThemeService.findOrThrow] 테마 조회 완료: id=$id" } }
?: run {
log.warn { "[ThemeService.updateTheme] 테마 조회 실패: id=$id" }
throw ThemeException(ThemeErrorCode.THEME_NOT_FOUND)