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

No files matched your search

+1 -1
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) {