From 3243ade4fd0785359f7360726243f5e7b6d787b2 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 31 Dec 2017 19:31:35 +0100 Subject: [PATCH] Improved error message when installation fails --- module/CLI/src/Command/Install/InstallCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/CLI/src/Command/Install/InstallCommand.php b/module/CLI/src/Command/Install/InstallCommand.php index 0c6dee56..ef08b460 100644 --- a/module/CLI/src/Command/Install/InstallCommand.php +++ b/module/CLI/src/Command/Install/InstallCommand.php @@ -100,9 +100,9 @@ class InstallCommand extends Command $this->filesystem->remove('data/cache/app_config.php'); $this->io->writeln(' Success'); } catch (IOException $e) { - $this->io->writeln( - ' Failed! You will have to manually delete the data/cache/app_config.php file to get' - . ' new config applied.' + $this->io->error( + 'Failed! You will have to manually delete the data/cache/app_config.php file to' + . ' get new config applied.' ); if ($this->io->isVerbose()) { $this->getApplication()->renderException($e, $output);