Skip to content

Commit baca570

Browse files
committed
Fix server status check in ServerStatusJob.php
1 parent 52df8e6 commit baca570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Jobs/ServerStatusJob.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function uniqueId(): int
3838
public function handle()
3939
{
4040
if (!$this->server->isServerReady($this->tries)) {
41-
throw new \Exception('Server is not ready');
41+
throw new \RuntimeException('Server is not ready.');
4242
};
4343
try {
4444
if ($this->server->isFunctional()) {

0 commit comments

Comments
 (0)