Refactor server filtering logic in Kernel.php

This commit is contained in:
Andras Bacsai
2023-11-17 13:11:46 +01:00
parent 2c4e69ad50
commit 8c73068cc7
2 changed files with 4 additions and 4 deletions

View File

@@ -168,7 +168,7 @@ class Server extends BaseModel
$db->update(['status' => 'exited']);
}
}
throw new \Exception('Server is not reachable.');
return false;
}
$result = $this->validateConnection();
ray('validateConnection: ' . $result);