fix: errors

This commit is contained in:
Andras Bacsai committed 2023-09-11 17:36:30 +02:00
1 parent 16c71f3647
commit 64a65e2018
67 files changed
+156 -147

No files matched your search

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