Display error if Installer->execute() doesn't return a good status object
authorReedy <reedy@wikimedia.org>
Tue, 10 Sep 2019 02:19:51 +0000 (03:19 +0100)
committerReedy <reedy@wikimedia.org>
Tue, 10 Sep 2019 02:19:51 +0000 (03:19 +0100)
Bug: T232425
Change-Id: Ic41acdfd6cdd96a393e0b2af28f69da1ff6653b7

maintenance/install.php

index 28a1746..16b8ccf 100644 (file)
@@ -133,6 +133,8 @@ class CommandLineInstaller extends Maintenance {
                if ( !$envChecksOnly ) {
                        $status = $installer->execute();
                        if ( !$status->isGood() ) {
+                               $installer->showStatusMessage( $status );
+
                                return false;
                        }
                        $installer->writeConfigurationFile( $this->getOption( 'confpath', $IP ) );