File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
setup/src/Magento/Setup/Model Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public function getAvailableOptions()
67
67
/** @var AbstractConfigOption[] $optionCollection */
68
68
$ optionCollection = [];
69
69
$ optionLists = $ this ->collector ->collectOptionsLists ();
70
-
70
+ $ errors = [];
71
71
foreach ($ optionLists as $ optionList ) {
72
72
$ optionCollection [] = $ optionList ->getOptions ();
73
73
}
@@ -77,7 +77,11 @@ public function getAvailableOptions()
77
77
foreach ($ optionCollection as $ option ) {
78
78
$ currentValue = $ this ->deploymentConfig ->get ($ option ->getConfigPath ());
79
79
if ($ currentValue !== null && $ option ->acceptValue ()) {
80
- $ option ->setDefault ($ currentValue );
80
+ try {
81
+ $ option ->setDefault ($ currentValue );
82
+ } catch (\Throwable $ e ) {
83
+ $ errors [] = [$ e ->getMessage ()];
84
+ }
81
85
}
82
86
}
83
87
You can’t perform that action at this time.
0 commit comments