mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-18 00:52:07 +03:00
Improved error message when installation fails
This commit is contained in:
parent
da21eb4a5c
commit
3243ade4fd
1 changed files with 3 additions and 3 deletions
|
@ -100,9 +100,9 @@ class InstallCommand extends Command
|
||||||
$this->filesystem->remove('data/cache/app_config.php');
|
$this->filesystem->remove('data/cache/app_config.php');
|
||||||
$this->io->writeln(' <info>Success</info>');
|
$this->io->writeln(' <info>Success</info>');
|
||||||
} catch (IOException $e) {
|
} catch (IOException $e) {
|
||||||
$this->io->writeln(
|
$this->io->error(
|
||||||
' <error>Failed!</error> You will have to manually delete the data/cache/app_config.php file to get'
|
'Failed! You will have to manually delete the data/cache/app_config.php file to'
|
||||||
. ' new config applied.'
|
. ' get new config applied.'
|
||||||
);
|
);
|
||||||
if ($this->io->isVerbose()) {
|
if ($this->io->isVerbose()) {
|
||||||
$this->getApplication()->renderException($e, $output);
|
$this->getApplication()->renderException($e, $output);
|
||||||
|
|
Loading…
Reference in a new issue