From d3a05b4b544cc73ed5b3c14f5288ea901930aafa Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Wed, 14 Apr 2021 20:14:06 +0800 Subject: [PATCH] update --- .../java/com/yutou/bilibili/BiliBili/Tools/SaveLive.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/yutou/bilibili/BiliBili/Tools/SaveLive.java b/src/main/java/com/yutou/bilibili/BiliBili/Tools/SaveLive.java index c85b2ad..c2edea6 100644 --- a/src/main/java/com/yutou/bilibili/BiliBili/Tools/SaveLive.java +++ b/src/main/java/com/yutou/bilibili/BiliBili/Tools/SaveLive.java @@ -156,9 +156,11 @@ public class SaveLive { QQBotManager.getInstance().sendMessage("录制完成:" + roomId + " save = " + isSave + " len = " + len); } catch (Exception e) { com.yutou.bilibili.Tools.Log.e(e); - Log.i("录制发生意外:" + e.getMessage()); - QQBotManager.getInstance().sendMessage("录制发生意外:" + e.getLocalizedMessage()); - LiveUtils.LiveInfoManager.getInstance().check(roomId); + if (!(e instanceof FileNotFoundException)) { + Log.i("录制发生意外:" + e.getMessage()); + QQBotManager.getInstance().sendMessage("录制发生意外:" + e.getLocalizedMessage()); + LiveUtils.LiveInfoManager.getInstance().check(roomId); + } } SaveLive.this.stop(roomId);