Update app/Models/Node.php

This commit is contained in:
Lance Pioch 2024-10-29 19:53:12 -04:00 committed by GitHub
parent 95a8f72058
commit b5145b016b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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