Skip to content

Commit 718e2ff

Browse files
committed
PB-341: Save content as template
1 parent 21748cf commit 718e2ff

File tree

1 file changed

+0
-2
lines changed
  • app/code/Magento/PageBuilder/Controller/Adminhtml/Template

1 file changed

+0
-2
lines changed

app/code/Magento/PageBuilder/Controller/Adminhtml/Template/Save.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,6 @@ public function execute()
151151
// Store the preview image within the new entity
152152
$template->setPreviewImage($filePath);
153153
} catch (\Exception $e) {
154-
echo $e->getMessage();
155-
exit;
156154
$this->logger->critical($e);
157155

158156
return $this->resultFactory->create(ResultFactory::TYPE_JSON)->setData(

0 commit comments

Comments
 (0)