Skip to content
Permalink
Browse files

Display a error if a site has errors (#164)

  • Loading branch information...
harold20 authored and enzolutions committed May 20, 2019
1 parent 214d430 commit db6afc8071bcb0a0fe7c1ef7413d6ec84f65a8d1
Showing with 8 additions and 1 deletion.
  1. +8 −1 bin/drupal.php
@@ -55,7 +55,14 @@
}
if ($target) {
if ($targetOptions = $configurationManager->readTarget($target)) {
try{
$targetOptions = $configurationManager->readTarget($target);
}catch (Exception $e) {
$io->error($e->getMessage());
exit(1);
}
if ($targetOptions) {
$argvInputReader->setOptionsFromTargetConfiguration($targetOptions);
$argvInputReader->setOptionsAsArgv();
$type = $targetOptions['type'];

0 comments on commit db6afc8

Please sign in to comment.
You can’t perform that action at this time.