Skip to content

Commit bdbb153

Browse files
committed
MCP-792: Wrong error message is sent in email if order is rejected because of disabled product
1 parent 765e6c9 commit bdbb153

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

app/code/Magento/Checkout/Model/GuestPaymentInformationManagement.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,6 @@ public function savePaymentInformationAndPlaceOrder(
120120
//Have to do this hack because of savePaymentInformation() plugins.
121121
$this->saveRateLimitDisabled = true;
122122
$this->savePaymentInformation($cartId, $email, $paymentMethod, $billingAddress);
123-
} catch (\Magento\Framework\Exception\CouldNotSaveException $e) {
124-
$this->getLogger()->critical(
125-
'Placing an order with quote_id ' . $cartId . ' is failed: ' . $e->getMessage()
126-
);
127-
throw new CouldNotSaveException(
128-
__($e->getMessage()),
129-
$e
130-
);
131123
} finally {
132124
$this->saveRateLimitDisabled = false;
133125
}

0 commit comments

Comments
 (0)