Skip to content

Commit

Permalink
Merge pull request #175 from survey-mate/fix/174
Browse files Browse the repository at this point in the history
fix: 예외 처리 수정
  • Loading branch information
JinhyeokFang authored Feb 18, 2024
2 parents 0c97b67 + 1b774ec commit 4d18256
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class SurveyServiceFacadeImpl implements SurveyServiceFacade {
@Transactional
public Survey createSurvey(Member registrant, SurveyCommandServiceDTO.CreateSurveyDTO dto) {
if (!registrant.isStudent()) {
throw new GeneralException(Status.WRONG_REGISTRANT);
throw new GeneralException(Status.NON_STUDENT_REGISTRANT);
}
StatementServiceDTO.PayPointDTO payPointDTO = StatementServiceDTO
.PayPointDTO
Expand Down

0 comments on commit 4d18256

Please sign in to comment.