File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88use Danack \Console \Command \Command ;
99use Danack \Console \Input \InputArgument ;
1010use Auryn \Injector ;
11-
11+ use Configurator \ ConfiguratorException ;
1212
1313/**
1414 *
@@ -186,6 +186,10 @@ function execute() {
186186 try {
187187 $ parsedCommand = $ this ->console ->parseCommandLine ();
188188 }
189+ catch (ConfiguratorException $ ce ) {
190+ echo "Problem running configuration: " .$ ce ->getMessage ();
191+ exit (-1 );
192+ }
189193 catch (\Exception $ e ) {
190194 //@TODO change to just catch parseException when that's implemented
191195 $ output = new BufferedOutput ();
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ public function addPHPConfig($filename)
174174 }
175175
176176 if (isset ($ evaluate ) == true ) {
177- $ calculatedValues = $ evaluate ($ this ->getConfig (), $ environment );
177+ $ calculatedValues = $ evaluate ($ this ->getConfig (), $ this -> environment );
178178 $ this ->addConfigOverride ($ calculatedValues );
179179 }
180180 }
You can’t perform that action at this time.
0 commit comments