This commit is contained in:
Andras Bacsai
2023-06-19 11:02:01 +02:00
parent 448182497f
commit b94a50e720
2 changed files with 2 additions and 2 deletions

View File

@@ -28,8 +28,8 @@ class RunCommand extends Component
public function runCommand()
{
$this->validate();
try {
$this->validate();
$activity = remote_process([$this->command], Server::where('uuid', $this->server)->first(), ignore_errors: true);
$this->emit('newMonitorActivity', $activity->id);
} catch (\Exception $e) {