Skip to content

Commit

Permalink
fix(checker): prevent crash on anon user
Browse files Browse the repository at this point in the history
  • Loading branch information
Millefeuille42 committed Mar 13, 2024
1 parent 907591d commit f22a0dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion APICheck/checker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func main() {
for i := 0; i < checker.Length(); i++ {
apiUser, err := api.GetUser(checker.UserList[i].Login)
if err != nil {
log.Fatalf("Error: Cannot fetch user %s data\n", checker.UserList[i].Login)
log.Printf("Error: Cannot fetch user %s data\n", checker.UserList[i].Login)
}
checker.UpdateDB(&apiUser)
time.Sleep(time.Millisecond * 250)
Expand Down

0 comments on commit f22a0dc

Please sign in to comment.