sunnycake / foodAPI_project4

0 stars 0 forks source link

Nutrition error handling #29

Closed jx4515ga closed 4 years ago

jx4515ga commented 4 years ago

Modified code for some API calls error handling, if user enters an invalid name such as numbers or signs the program will let them know that the entry was invalid and will have them try again. @sunnycake @7ibakana @abdala2020

sunnycake commented 4 years ago

@abdala2020 @jx4515ga Do you think it's better to return None after the ELSE or EXCEPTION? I was thinking it could be after exception just from seeing a few examples? What do you think?

jx4515ga commented 4 years ago

@sunnycake @7ibakana @abdala2020 I get what you say if you like I can modify and put it after the EXCEPTION I think it will be better after the Exception

sunnycake commented 4 years ago

Closing this one since we've discussed in zoom today 10/30/2020.