Skip to content

Commit a630ba3

Browse files
committed
Throw \Exception when ContentProcessorException raised to avoid deployement success
1 parent fc97826 commit a630ba3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Deploy/Service/DeployPackage.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ public function deployEmulated(Package $package, array $options, $skipLogging =
136136
. PHP_EOL . $exception->getMessage();
137137
$this->errorsCount++;
138138
$this->logger->critical($errorMessage);
139+
throw new \Exception($errorMessage);
139140
} catch (\Exception $exception) {
140141
$this->logger->critical($exception->getTraceAsString());
141142
$this->errorsCount++;

0 commit comments

Comments
 (0)