Merge pull request #2133 from coollabsio/next

Fix server status check in ServerStatusJob.php
This commit is contained in:
Andras Bacsai 2024-05-03 13:46:06 +02:00 committed by GitHub
commit 418398a870
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,7 @@ public function uniqueId(): int
public function handle()
{
if (!$this->server->isServerReady($this->tries)) {
return "Server is not ready yet.";
throw new \RuntimeException('Server is not ready.');
};
try {
if ($this->server->isFunctional()) {