diff --git a/usecase/src/main/java/org/depromeet/spot/usecase/service/MemberService.java b/usecase/src/main/java/org/depromeet/spot/usecase/service/MemberService.java index f2f43723..cba1b8d6 100644 --- a/usecase/src/main/java/org/depromeet/spot/usecase/service/MemberService.java +++ b/usecase/src/main/java/org/depromeet/spot/usecase/service/MemberService.java @@ -26,7 +26,7 @@ public Member create(final String name) { public List findByName(final String name) { var members = memberRepository.findByName(name); if (members.isEmpty()) { - throw new MemberNotFoundException(name); + throw new MemberNotFoundException("name : " + name); } return members; }