Skip to content
Level 3
/
Error handling
/
Inventory update exception swallowed
Previous
Next
Submit review
Task
Code
Findings
Answer
Guide
Task
Model answer
Guide
Coding
/
Error handling
Inventory update exception swallowed
Code review
Hard
20 min
Shopify style
Your task
Review this Python function that records a sale: it writes the ledger entry, then updates inventory.
Model answer
Home
Review
Tracks
Paths
Menu