Skip to content

Commit

Permalink
catch the sql exception
Browse files Browse the repository at this point in the history
  • Loading branch information
liberhe committed Dec 21, 2023
1 parent b2a379e commit f5f7703
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/com/dl/officialsite/member/MemberService.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ public MemberWithTeam getMemberWithTeamInfoByAddress(String address) {
}

public MemberVo save(Member member) {
//try {
memberRepository.save(member);
// }catch (PersistenceException x) {


MemberVo memberVo = new MemberVo();
BeanUtils.copyProperties(member, memberVo);
return memberVo;
Expand Down

0 comments on commit f5f7703

Please sign in to comment.