Skip to content

Commit ecb0845

Browse files
committed
fix(cart): Add error reporting
1 parent e6b529a commit ecb0845

File tree

1 file changed

+1
-0
lines changed
  • be/api/v1/endpoints/cart/checkout

1 file changed

+1
-0
lines changed

be/api/v1/endpoints/cart/checkout/post.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ async def post_checkout(req: CheckoutRequestBodyModel):
9292

9393

9494
except Exception as e:
95+
print("Error checking out:", e)
9596
raise HTTPException(status_code=500, detail=e)
9697

9798

0 commit comments

Comments
 (0)