From 1a9462d5535b32479e9ee54ed6706587e2bdd014 Mon Sep 17 00:00:00 2001 From: Eiriksgata <2353686862@qq.com> Date: Thu, 10 Nov 2022 11:21:14 +0800 Subject: [PATCH] Add exception print --- .../indi/eiriksgata/rulateday/instruction/BotController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/rulateday-server/src/main/java/indi/eiriksgata/rulateday/instruction/BotController.java b/rulateday-server/src/main/java/indi/eiriksgata/rulateday/instruction/BotController.java index a8a7988..ba400eb 100644 --- a/rulateday-server/src/main/java/indi/eiriksgata/rulateday/instruction/BotController.java +++ b/rulateday-server/src/main/java/indi/eiriksgata/rulateday/instruction/BotController.java @@ -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 {