From baca57062ecadf26aef95bcf055b384f556bf32e Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 3 May 2024 13:45:42 +0200 Subject: [PATCH] Fix server status check in ServerStatusJob.php --- app/Jobs/ServerStatusJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/ServerStatusJob.php b/app/Jobs/ServerStatusJob.php index 7f9ae6739..6402b81cf 100644 --- a/app/Jobs/ServerStatusJob.php +++ b/app/Jobs/ServerStatusJob.php @@ -38,7 +38,7 @@ public function uniqueId(): int public function handle() { if (!$this->server->isServerReady($this->tries)) { - throw new \Exception('Server is not ready'); + throw new \RuntimeException('Server is not ready.'); }; try { if ($this->server->isFunctional()) {