Fix server status check in ServerStatusJob.php
This commit is contained in:
parent
424a6b0428
commit
52df8e6e8b
@ -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 \Exception('Server is not ready');
|
||||
};
|
||||
try {
|
||||
if ($this->server->isFunctional()) {
|
||||
|
Loading…
Reference in New Issue
Block a user