ignore command center errors

This commit is contained in:
Andras Bacsai committed 2023-06-07 15:39:08 +02:00
1 parent 9c055f2149
commit 6e084db3d9
6 files changed
+32 -24

No files matched your search

+3
View File
@@ -19,6 +19,7 @@ class CoolifyTask implements ShouldQueue
*/
public function __construct(
public Activity $activity,
public bool $ignore_errors = false,
) {
}
@@ -27,8 +28,10 @@ class CoolifyTask implements ShouldQueue
*/
public function handle(): void
{
$remote_process = resolve(RunRemoteProcess::class, [
'activity' => $this->activity,
'ignore_errors' => $this->ignore_errors,
]);
$remote_process();