Skip to content

Commit c18602c

Browse files
committed
Throw exception if errors are found
1 parent f3fb417 commit c18602c

File tree

1 file changed

+1
-0
lines changed
  • setup/src/Magento/Setup/Module/Di/Compiler/Log/Writer

1 file changed

+1
-0
lines changed

setup/src/Magento/Setup/Module/Di/Compiler/Log/Writer/Console.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public function write(array $data)
7070

7171
if ($errorsCount) {
7272
$this->console->writeln('<error>' . 'Total Errors Count: ' . $errorsCount . '</error>');
73+
throw new \Magento\Framework\Validator\Exception(__('Error durring compilation'));
7374
}
7475
}
7576

0 commit comments

Comments
 (0)