summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Pugh2017-07-12 13:38:37 -0400
committerJon Pugh2017-07-12 13:38:37 -0400
commitc1fea660ec9ea782ef9b5778f19eb986243a697a (patch)
tree2e7f5b7993d7a89f1e85d541c8db893eb4fdfbe7
parent613f79da9d017b31ada52657ae1c63a11635d061 (diff)
Print the error if it finds one.7.x-3.x-devshop
-rw-r--r--platform/verify.provision.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/verify.provision.inc b/platform/verify.provision.inc
index 3dbac8e..3041e67 100644
--- a/platform/verify.provision.inc
+++ b/platform/verify.provision.inc
@@ -81,9 +81,9 @@ function drush_provision_drupal_pre_provision_verify() {
drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_ROOT);
// If we couldn't bootstrap, there's no sense in continuing past this point.
- if (drush_get_error()) {
+ if ($error = drush_get_error()) {
return drush_set_error("DRUSH_INVALID_DRUPAL_ROOT",
- "Drush could not bootstrap this platform. Please check the platform directory exists and is readable.");
+ "Drush could not bootstrap this platform. Please check the platform directory exists and is readable. The errors were: " . print_r($error,1));
}
provision_file()->writable(d()->root . '/sites')
->succeed('Drupal sites directory @path is writable by the provisioning script')