This commit is contained in:
Andras Bacsai
2023-05-02 15:20:45 +02:00
parent 53e2960ffd
commit 23cea9a130
5 changed files with 28 additions and 11 deletions

View File

@@ -131,7 +131,7 @@ if (!function_exists('runRemoteCommandSync')) {
if (!$throwError) {
return false;
}
Log::error($output);
Log::error($process->errorOutput());
throw new \RuntimeException('There was an error running the command.');
}
return $output;