fix phpstan

This commit is contained in:
Saeed Vaziry
2025-06-19 21:29:34 +02:00
parent 9a3578f3ac
commit cf9bb35615
2 changed files with 2 additions and 5 deletions

View File

@ -20,8 +20,7 @@ public function check(Server $server): Server
$server->status = ServerStatus::READY;
$server->save();
}
} catch (Throwable $e) {
throw $e;
} catch (Throwable) {
$server->status = ServerStatus::DISCONNECTED;
$server->save();
Notifier::send($server, new ServerDisconnected($server));