ignore command center errors
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user