diff --git a/src/main/java/com/yutou/qqbot/models/setu/GetSeTu.java b/src/main/java/com/yutou/qqbot/models/setu/GetSeTu.java index e9f3a39..233d281 100644 --- a/src/main/java/com/yutou/qqbot/models/setu/GetSeTu.java +++ b/src/main/java/com/yutou/qqbot/models/setu/GetSeTu.java @@ -51,6 +51,12 @@ public class GetSeTu extends Model { super.onDownload(file); QQBotManager.getInstance().sendMessage(file, qq, ""); } + + @Override + public void onError(Exception e) { + super.onError(e); + QQBotManager.getInstance().sendMessage(qq,"获取失败"); + } }); } }