diff --git a/src/main/java/org/gachon/checkmate/domain/scrap/service/ScrapService.java b/src/main/java/org/gachon/checkmate/domain/scrap/service/ScrapService.java index 075e783..fbaa8e8 100644 --- a/src/main/java/org/gachon/checkmate/domain/scrap/service/ScrapService.java +++ b/src/main/java/org/gachon/checkmate/domain/scrap/service/ScrapService.java @@ -85,7 +85,7 @@ private void validateDuplicateScrap(Long postId, Long userId) { private void validateExistScrap(Long postId, Long userId) { if(!existPostInScrap(postId, userId)) - throw new InvalidValueException(); + throw new InvalidValueException(INVALID_DELETE_SCRAP); } private boolean existPostInScrap(Long postId, Long userId) {