From 9c8566d5b3a3646b9e898b96c34a5984a7d75e25 Mon Sep 17 00:00:00 2001 From: Valithor Obsidion Date: Thu, 8 Feb 2024 19:26:49 -0500 Subject: [PATCH] Mute getaddrinfo errors --- bot.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.php b/bot.php index 64bab1e6..b1e526e4 100644 --- a/bot.php +++ b/bot.php @@ -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')