Nightherald / aa-workshop-data-models

MIT License
0 stars 1 forks source link

Error Handling for Product Retrieval #6

Open Nightherald opened 1 year ago

Nightherald commented 1 year ago

Summary

What happens if our product service does not find the record in the database? Application code is located at https://github.com/Nightherald/aa-workshop-data-models/blob/master/app/services/product.py

Tasks

Implement a try/except approach like we did for the user registration service at https://github.com/Nightherald/aa-workshop-data-models/issues/1