Commit f91b9401 authored by Jon Pugh's avatar Jon Pugh

Return process error as the error message if one was not set.

parent 37057c72
......@@ -508,7 +508,7 @@ function provision_process($command, $cwd = null, $label = 'Process', $env = arr
if ($throw_drush_error) {
drush_set_error('PROVISION_PROCESS_ERROR', dt($error_message));
drush_set_error('PROVISION_PROCESS_ERROR', !empty($error_message)? $error_message: $process->getErrorOutput());
return $process->getErrorOutput();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment