Skip to content

Commit

Permalink
fix: 分区移动失败继续运行 (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanmiteko committed Nov 8, 2024
1 parent 66fa06f commit 8d901ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions lib/core/monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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出现异常`);
Expand Down Expand Up @@ -200,6 +197,7 @@ class Monitor extends Searcher {
case 1011:
case 2002:
case 2003:
case 3001:
case 4001:
case 4002:
case 4003:
Expand All @@ -223,7 +221,6 @@ class Monitor extends Searcher {
case 1010:
case 1004:
case 2001:
case 3001:
case 5001:
is_shutdown = true;
break;
Expand Down
2 changes: 1 addition & 1 deletion lib/net/bili.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
},
Expand Down

0 comments on commit 8d901ab

Please sign in to comment.