Skip to content

Commit

Permalink
fix: 登录失败throw error
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Jan 11, 2025
1 parent 2505906 commit 2880de3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bypasscf.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ async function launchBrowserForUser(username, password) {
console.log("找到avatarImg,登录成功");
} else {
console.log("未找到avatarImg,登录失败");
throw new Error("登录失败");
}

//真正执行阅读脚本
Expand Down

0 comments on commit 2880de3

Please sign in to comment.