feat: 域名解析新增 Tencent, Ali; 脚本下载失败, 脚本操作失败, 脚本过滤失败时都会报错了

This commit is contained in:
xream
2023-08-27 23:17:57 +08:00
parent 49c7107d20
commit 7b8f6f7e52
3 changed files with 47 additions and 5 deletions

View File

@@ -90,8 +90,7 @@ async function process(proxies, operators = [], targetPlatform) {
$.error(
`Error when downloading remote script: ${item.args.content}.\n Reason: ${err}`,
);
// skip the script if download failed.
continue;
throw new Error(`无法下载脚本: ${url}`);
}
} else {
script = content;