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 9e7a392 commit 9d3fccdCopy full SHA for 9d3fccd
next/lib/data.js
@@ -68,7 +68,6 @@ export async function checkoutAction(cart) {
68
console.log(inventoryItem.count, cart.quantities[id]);
69
if (inventoryItem.count < cart.quantities[id] || cart.quantities[id] >= inventoryItem.count) {
70
const error = new Error("Not enough inventory for product")
71
- Sentry.captureException(error);
72
throw error;
73
}
74
0 commit comments