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

+1 -1
View File
@@ -26,7 +26,7 @@ class RunCommand extends Component
{
try {
$this->validate();
$activity = remote_process([$this->command], Server::where('uuid', $this->server)->first());
$activity = remote_process([$this->command], Server::where('uuid', $this->server)->first(), ignore_errors: true);
$this->emit('newMonitorActivity', $activity->id);
} catch (\Exception $e) {
return general_error_handler($e);