Rescue Horizon exceptions

This commit is contained in:
Ralph J. Smit
2022-08-09 11:06:39 +02:00
parent b4607d8e01
commit 9861ff3a9b

View File

@@ -39,7 +39,7 @@ class System extends Page
public function getHorizonWorkerStatus(): bool
{
return (bool) app(MasterSupervisorRepository::class)->all();
return rescue(fn () => (bool) app(MasterSupervisorRepository::class)->all(), false, false);
}
public function hasAvailableUpdate(): bool