Skip to content

Commit c04127c

Browse files
committed
Merge commit 'refs/pull/8327/head' of https://github.com/magento/magento2 into MAGETWO-63881
2 parents 107f152 + d695b92 commit c04127c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Email/Model/AbstractTemplate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ public function getProcessedTemplate(array $variables = [])
352352
$result = $processor->filter($this->getTemplateText());
353353
} catch (\Exception $e) {
354354
$this->cancelDesignConfig();
355-
throw new \LogicException(__($e->getMessage()), $e);
355+
throw new \LogicException(__($e->getMessage()), $e->getCode(), $e);
356356
}
357357
if ($isDesignApplied) {
358358
$this->cancelDesignConfig();

0 commit comments

Comments
 (0)