Skip to content

Commit

Permalink
Mute getaddrinfo errors
Browse files Browse the repository at this point in the history
  • Loading branch information
valzargaming committed Feb 9, 2024
1 parent 60edec2 commit 9c8566d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bot.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,8 @@

// Connectivity issues
&& ! str_ends_with($errstr, 'No route to host') // Usually happens if the verifier server is down
//&& ! str_ends_with($errstr, 'Temporary failure in name resolution')
&& ! str_ends_with($errstr, 'No address associated with hostname') // Either the DNS or the VPS is acting up
&& ! str_ends_with($errstr, 'Temporary failure in name resolution') // Either the DNS or the VPS is acting up
//&& ! str_ends_with($errstr, 'HTTP request failed!')

//&& ! str_contains($errstr, 'Undefined array key')
Expand Down

0 comments on commit 9c8566d

Please sign in to comment.