vinvasir / nutrition_facts_tracker

Fitness tracker app with light CMS capabilities
0 stars 0 forks source link

When searching for a recipe that doesn't exist in the API, we get a 500 error #4

Open vinvasir opened 6 years ago

vinvasir commented 6 years ago

When searching for a recipe that doesn't exist in the API, we get a 500 error. Consider catching the Exception and returning a 404 error instead. Eventually, I could add suggested alternative searches too.