Right now, if you point the api_driver at drupal and the drupal_root somewhere that doesn't contain a Drupal installation, there's a pretty clear message.

If you happen to point it at a valid Drupal directory, but the site is unconfigured, you instead get: PHP Fatal error: Class 'Drupal\Driver\Cores\BootstrapException' not found in /home/melissa/Sphinx/bdd/_src/seven/vendor/drupal/drupal-extension/src/Drupal/Driver/Cores/Drupal7.php on line 182

Comments

jhedstrom’s picture

Issue summary: View changes
Status: Active » Fixed

I think this is fixed now. I get this testing against 7.x:

  [Drupal\Exception\BootstrapException]
  Could not find a Drupal settings.php file at "/.../drupal-7/sites/default/settings.php"

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.