账号转发动态途中被系统强制登出,任务直接终止
描述Bug
账号转发动态途中被系统强制登出,任务直接就终止,后面的账号没有继续进行转发。能否使当前账号被系统登出情况下跳过该账号,让后续账号继续转发动态?下面是相关报错:
[2024-05-13T16:16:45.902+08] [Warn] [帐号7 处理动态数据] [
未找到任何动态信息
]
/ql/scripts/LotteryAutoScript/lib/core/searcher.js:360
log.info('处理动态数据', 动态数据读取完毕(${cards.length})(${next.has_more}));
^
TypeError: Cannot read properties of null (reading 'length')
at modifyDynamicRes (/ql/scripts/LotteryAutoScript/lib/core/searcher.js:360:42)
at Function.checkAllDynamic (/ql/scripts/LotteryAutoScript/lib/core/searcher.js:405:27)
at runMicrotasks (
Node.js v17.5.0
执行结束... 2024-05-13 16:16:47 耗时 29807 秒
重现Bug
1
预期行为
1
截图
No response
运行日志
[2024-05-13T16:16:45.902+08] [Warn] [帐号7 处理动态数据] [
未找到任何动态信息
]
/ql/scripts/LotteryAutoScript/lib/core/searcher.js:360
log.info('处理动态数据', 动态数据读取完毕(${cards.length})(${next.has_more}));
^
TypeError: Cannot read properties of null (reading 'length')
at modifyDynamicRes (/ql/scripts/LotteryAutoScript/lib/core/searcher.js:360:42)
at Function.checkAllDynamic (/ql/scripts/LotteryAutoScript/lib/core/searcher.js:405:27)
at runMicrotasks (
Node.js v17.5.0
执行结束... 2024-05-13 16:16:47 耗时 29807 秒
操作系统
青龙面板
NodeJs版本
No response
脚本版本
v2.9.0
其他
No response
我也是,不过好像是内存不够然后终止了? 我的报错:
node:internal/process/task_queues:95
runMicrotasks();
^
TypeError: Cannot read properties of null (reading 'length')
at modifyDynamicRes (/snapshot/lottery/lib/core/searcher.js)
at Searcher.checkAllDynamic (/snapshot/lottery/lib/core/searcher.js)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async retryfn (/snapshot/lottery/lib/utils.js)
at async clear (/snapshot/lottery/lib/clear.js)
at async main (/snapshot/lottery/main.js)
at async /snapshot/lottery/main.js
Node.js v18.5.0