mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-16 20:49:28 +00:00
Fix server status check in ServerStatusJob.php
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user