diff --git a/src/main/java/com/senity/waved/domain/paymentRecord/service/PaymentRecordServiceImpl.java b/src/main/java/com/senity/waved/domain/paymentRecord/service/PaymentRecordServiceImpl.java index 93f8dea..5fadf59 100644 --- a/src/main/java/com/senity/waved/domain/paymentRecord/service/PaymentRecordServiceImpl.java +++ b/src/main/java/com/senity/waved/domain/paymentRecord/service/PaymentRecordServiceImpl.java @@ -100,8 +100,8 @@ public void savePaymentRecord(MyChallenge myChallenge, Long memberId, PaymentSta String groupTitle = group.getGroupTitle(); updateGroupParticipantCount(group, status); - PaymentRecord paymentRecord = PaymentRecord.of(status, memberId, myChallenge, groupTitle); try { + PaymentRecord paymentRecord = PaymentRecord.of(status, memberId, myChallenge, groupTitle); paymentRecordRepository.save(paymentRecord); } catch (Exception e) { throw new PaymentRecordExistException("이미 존재하는 예치금 내역입니다.");