Skip to content

Commit 9c8566d

Browse files
committed
Mute getaddrinfo errors
1 parent 60edec2 commit 9c8566d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bot.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,8 @@
354354

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

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

0 commit comments

Comments
 (0)