diff --git a/etc/config/command.php b/etc/config/command.php index 7b45a2595..adc372e43 100644 --- a/etc/config/command.php +++ b/etc/config/command.php @@ -31,7 +31,10 @@ $process->run(); $output = $process->getOutput(); if (!$process->isSuccessful()) { - $output = $process->getErrorOutput(); + $failureOutput = $process->getErrorOutput(); + if (!empty($failureOutput)) { + $output = $failureOutput; + } } if (empty($output)) { $output = "CLI did not return output.";