We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 214d430 commit db6afc8Copy full SHA for db6afc8
bin/drupal.php
@@ -55,7 +55,14 @@
55
}
56
57
if ($target) {
58
- if ($targetOptions = $configurationManager->readTarget($target)) {
+ try{
59
+ $targetOptions = $configurationManager->readTarget($target);
60
+ }catch (Exception $e) {
61
+ $io->error($e->getMessage());
62
+ exit(1);
63
+ }
64
+
65
+ if ($targetOptions) {
66
$argvInputReader->setOptionsFromTargetConfiguration($targetOptions);
67
$argvInputReader->setOptionsAsArgv();
68
$type = $targetOptions['type'];
0 commit comments