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 0122d0b commit 207a159Copy full SHA for 207a159
app/code/Magento/Catalog/Model/ProductRepository.php
@@ -647,7 +647,8 @@ public function delete(ProductInterface $product)
647
throw new CouldNotSaveException(__($e->getMessage()));
648
} catch (\Exception $e) {
649
throw new \Magento\Framework\Exception\StateException(
650
- __('The "%1" product couldn\'t be removed.', $sku)
+ __('The "%1" product couldn\'t be removed.', $sku),
651
+ $e
652
);
653
}
654
$this->removeProductFromLocalCache($sku);
0 commit comments