Skip to content

Commit b6e69b9

Browse files
author
Olga Kopylova
committed
MAGETWO-44382: Show Simple Error Message When Verbosity is Normal in Magento CLI
- updated the message
1 parent 8bdd9f1 commit b6e69b9

File tree

1 file changed

+2
-3
lines changed
  • lib/internal/Magento/Framework/Console

1 file changed

+2
-3
lines changed

lib/internal/Magento/Framework/Console/Cli.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,8 @@ public function doRun(InputInterface $input, OutputInterface $output)
4444
$exitCode = parent::doRun($input, $output);
4545
if ($this->initException) {
4646
$output->writeln(
47-
'<error>An error happened during commands initialization. '
48-
. 'If you just updated the code base, consider cleaning "var/generation", "var/di" directories '
49-
. 'and cache.</error>'
47+
"<error>We're sorry, an error occurred. Try clearing the cache and code generation directories. "
48+
. "By default, they are: var/cache, var/di, var/generation, and var/page_cache.</error>"
5049
);
5150
throw $this->initException;
5251
}

0 commit comments

Comments
 (0)