Fix server status check in ServerStatusJob.php
This commit is contained in:
parent
52df8e6e8b
commit
baca57062e
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ public function uniqueId(): int
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
if (!$this->server->isServerReady($this->tries)) {
|
if (!$this->server->isServerReady($this->tries)) {
|
||||||
throw new \Exception('Server is not ready');
|
throw new \RuntimeException('Server is not ready.');
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
if ($this->server->isFunctional()) {
|
if ($this->server->isFunctional()) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue