From 8d901ab3c19032a2d5ecc477aa710ebb3d40a791 Mon Sep 17 00:00:00 2001 From: shanmite Date: Fri, 8 Nov 2024 10:36:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=86=E5=8C=BA=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=BB=A7=E7=BB=AD=E8=BF=90=E8=A1=8C=20(#423)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/core/monitor.js | 5 +---- lib/net/bili.js | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/core/monitor.js b/lib/core/monitor.js index 235e02ec5..874a91ea1 100644 --- a/lib/core/monitor.js +++ b/lib/core/monitor.js @@ -65,9 +65,6 @@ class Monitor extends Searcher { case 2001: event_bus.emit('Turn_off_the_Monitor', '关注出错'); break; - case 3001: - event_bus.emit('Turn_off_the_Monitor', '分区移动出错 可于设置处关闭移动分区'); - break; case 2004: case 4005: log.warn(`账号异常${status}`, `UID(${global_var.get('myUID')})异常号只会对部分UP出现异常`); @@ -200,6 +197,7 @@ class Monitor extends Searcher { case 1011: case 2002: case 2003: + case 3001: case 4001: case 4002: case 4003: @@ -223,7 +221,6 @@ class Monitor extends Searcher { case 1010: case 1004: case 2001: - case 3001: case 5001: is_shutdown = true; break; diff --git a/lib/net/bili.js b/lib/net/bili.js index a0be37808..a518bf518 100644 --- a/lib/net/bili.js +++ b/lib/net/bili.js @@ -751,7 +751,7 @@ const bili_client = { log.info('移动分区', 'up主分区移动成功'); return 0; } else { - log.error('移动分区', `up主分区移动失败\n${responseText}`); + log.error('移动分区', `up主分区移动失败分区 可于设置处关闭移动分区\n${responseText}`); return 1; } },