Merge pull request #1662 from coollabsio/next
Do not report server is not ready
This commit is contained in:
commit
dd0ad04384
1 changed files with 3 additions and 3 deletions
|
|
@ -37,10 +37,10 @@ public function uniqueId(): int
|
||||||
|
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
|
if (!$this->server->isServerReady($this->tries)) {
|
||||||
|
throw new \RuntimeException('Server is not ready.');
|
||||||
|
};
|
||||||
try {
|
try {
|
||||||
if (!$this->server->isServerReady($this->tries)) {
|
|
||||||
throw new \RuntimeException('Server is not ready.');
|
|
||||||
};
|
|
||||||
if ($this->server->isFunctional()) {
|
if ($this->server->isFunctional()) {
|
||||||
$this->cleanup(notify: false);
|
$this->cleanup(notify: false);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue