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 1f24dbf commit ac31dfdCopy full SHA for ac31dfd
setup/src/Magento/Setup/Model/ConfigModel.php
@@ -72,13 +72,14 @@ public function getAvailableOptions()
72
}
73
74
$optionCollection = array_merge([], ...$optionCollection);
75
-
+ $errors = [];
76
foreach ($optionCollection as $option) {
77
$currentValue = $this->deploymentConfig->get($option->getConfigPath());
78
if ($currentValue !== null && $option->acceptValue()) {
79
try {
80
$option->setDefault($currentValue);
81
} catch (\Throwable $e) {
82
+ $errors[] = [$e->getMessage()];
83
84
85
0 commit comments