Skip to content

Commit

Permalink
fix: continune when error read cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
dvgamerr committed Nov 5, 2023
1 parent e9f6b1c commit 6478030
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ func main() {

cookies, err := chrome.CookieJar(store.FilePath())
if err != nil {
log.Fatal(err)
log.Println(err)
continue
}

if !hoyo.IsCookieToken(cookies) {
Expand Down

0 comments on commit 6478030

Please sign in to comment.