mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 20:15:36 +00:00
Remove exception and update server check in StopService
This commit is contained in:
1 parent
3c4243d854
commit
576bff1af9
1 file changed
-1
@@ -11,7 +11,6 @@ class StopService
|
||||
public function handle(Service $service)
|
||||
{
|
||||
try {
|
||||
throw new \Exception('Not implemented');
|
||||
$server = $service->destination->server;
|
||||
if (!$server->isFunctional()) {
|
||||
return 'Server is not functional';
|
||||
|
||||
Reference in new issue
Block a user