Skip to content

Commit 9d3fccd

Browse files
committed
testing sentry sdk
1 parent 9e7a392 commit 9d3fccd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

next/lib/data.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ export async function checkoutAction(cart) {
6868
console.log(inventoryItem.count, cart.quantities[id]);
6969
if (inventoryItem.count < cart.quantities[id] || cart.quantities[id] >= inventoryItem.count) {
7070
const error = new Error("Not enough inventory for product")
71-
Sentry.captureException(error);
7271
throw error;
7372
}
7473
}

0 commit comments

Comments
 (0)