Skip to content

Commit

Permalink
Change from an exception to warning in site:install.
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Jan 20, 2020
1 parent c8c5383 commit f93ee99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/core/SiteInstallCommands.php
Expand Up @@ -381,7 +381,7 @@ public function pre(CommandData $commandData)
$bootstrapManager->doBootstrap(DRUSH_BOOTSTRAP_DRUPAL_SITE);

if ($program_exists && !$sql->dropOrCreate()) {
throw new \Exception(dt('Failed to drop or create the database: @error', ['@error' => $sql->getProcess()->getErrorOutput()]));
$this->logger()->warning(dt('Failed to drop or create the database. Do it yourself before installing: @error', ['@error' => $sql->getProcess()->getErrorOutput()]));
}
}

Expand Down

0 comments on commit f93ee99

Please sign in to comment.