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 cb554e0 commit 67a9c17Copy full SHA for 67a9c17
app/code/Magento/Checkout/Controller/Cart/UpdatePost.php
@@ -87,9 +87,6 @@ protected function _updateShoppingCart()
87
// We do not add an error message to messageManager here to prevent duplicate error messages
88
// on the cart page. The frontend AJAX validation already displays this error, and the backend message
89
// would cause duplication after page reload.
90
- $this->messageManager->addErrorMessage(
91
- $this->_objectManager->get(\Magento\Framework\Escaper::class)->escapeHtml($e->getMessage())
92
- );
93
} catch (\Exception $e) {
94
$this->messageManager->addExceptionMessage($e, __('We can\'t update the shopping cart.'));
95
$this->_objectManager->get(\Psr\Log\LoggerInterface::class)->critical($e);
0 commit comments