Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Fix server status check in ServerStatusJob.php

Andras Bacsaibaca57062eca
diff --git a/app/Jobs/ServerStatusJob.php b/app/Jobs/ServerStatusJob.php
index 7f9ae67395..6402b81cf0 100644
--- a/app/Jobs/ServerStatusJob.php
+++ b/app/Jobs/ServerStatusJob.php
@@ -38,7 +38,7 @@ class ServerStatusJob implements ShouldQueue, ShouldBeEncrypted
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()) {