We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d40c9a commit fdb0c7fCopy full SHA for fdb0c7f
app/code/Magento/Catalog/Controller/Adminhtml/Product/Save.php
@@ -144,6 +144,7 @@ public function execute()
144
$this->messageManager->addSuccess(__('You duplicated the product.'));
145
}
146
} catch (\Magento\Framework\Exception\LocalizedException $e) {
147
+ $this->_objectManager->get(\Psr\Log\LoggerInterface::class)->critical($e);
148
$this->messageManager->addError($e->getMessage());
149
$this->getDataPersistor()->set('catalog_product', $data);
150
$redirectBack = $productId ? true : 'new';
0 commit comments