Update app/Models/Node.php

This commit is contained in:
Lance Pioch 2024-10-29 19:52:32 -04:00 committed by GitHub
parent a8356fc5d2
commit 19548338ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -307,7 +307,9 @@ class Node extends Model
if ($message->startsWith('cURL error 6: Could not resolve host')) {
$message = str('Could not resolve host');
} elseif ($message->startsWith('cURL error 28: Failed to connect to ')) {
}
if ($message->startsWith('cURL error 28: Failed to connect to ')) {
$message = $message->after('cURL error 28: ')->before(' after ');
}