fix: docker compose validation

This commit is contained in:
Andras Bacsai committed 2024-03-14 09:21:48 +01:00
1 parent 695d3b82b5
commit c8d48ccbff
4 files changed
+38 -7

No files matched your search

@@ -38,8 +38,12 @@ class Configuration extends Component
}
public function check_status()
{
dispatch_sync(new ContainerStatusJob($this->service->server));
$this->dispatch('refresh')->self();
$this->dispatch('serviceStatusChanged');
try {
dispatch_sync(new ContainerStatusJob($this->service->server));
$this->dispatch('refresh')->self();
$this->dispatch('serviceStatusChanged');
} catch (\Exception $e) {
return handleError($e, $this);
}
}
}