We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e7f0018 + 899190a commit 25f4278Copy full SHA for 25f4278
src/functions.php
@@ -20,6 +20,7 @@
20
use Symfony\Component\Console\Question\ConfirmationQuestion;
21
use Symfony\Component\Console\Question\Question;
22
use Symfony\Component\Finder\Finder;
23
+use Symfony\Component\Process\Exception\ProcessFailedException;
24
use Symfony\Component\Process\Process;
25
use Deployer\Cluster\ClusterFactory;
26
use Symfony\Component\Console\Input\InputArgument;
@@ -353,7 +354,7 @@ function runLocally($command, $timeout = 60)
353
354
});
355
356
if (!$process->isSuccessful()) {
- throw new \RuntimeException($process->getErrorOutput());
357
+ throw new ProcessFailedException($process);
358
}
359
360
$output = $process->getOutput();
0 commit comments