Commit 202c0eeb authored by Jon Pugh's avatar Jon Pugh

Improve error message for "Platform not found" state: Show the directory and...

Improve error message for "Platform not found" state: Show the directory and mention all of the problems that could exist.
parent b9032840
......@@ -124,7 +124,7 @@ function drush_provision_drupal_pre_provision_verify() {
$error = "$type: {$error[0]}";
}
return drush_set_error("DRUSH_INVALID_DRUPAL_ROOT",
dt("Drush could not bootstrap the platform at @path. Please check the platform directory exists and is readable. The errors were: @errors", array(
dt("Drush could not bootstrap Drupal at @path. Check the Publish Path of the platform, the directory exists, contains Drupal, and is readable. The errors were: @errors", array(
'@path' => d()->root,
'@errors' => implode('|', $errors)
)));
......
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