Skip to content

Commit

Permalink
Add exception print
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksgata committed Nov 10, 2022
1 parent 017d880 commit 1a9462d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ public String deleteFriend(MessageData<?> data) {
friend.delete();
return CustomText.getText("friend.delete.success");
} catch (Exception e) {
e.printStackTrace();
return CustomText.getText("friend.delete.fail");
}
} else {
Expand Down

0 comments on commit 1a9462d

Please sign in to comment.