Skip to content

Commit

Permalink
Suppress errors relating to 502 Bad Gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
valzargaming committed Apr 23, 2024
1 parent 13f2163 commit b07377c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@
&& ! str_ends_with($errstr, 'No route to host') // Usually happens if the verifier server is down
&& ! 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, 'Bad Gateway') // Usually happens if the verifier server's PHP-CGI is down
//&& ! str_ends_with($errstr, 'HTTP request failed!')

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

0 comments on commit b07377c

Please sign in to comment.