CodeForAfrica / HealthTools.API

HealthTools API to retrieve, structure and return data being used by the health tools. Accessible at https://api.healthtools.codeforafrica.org/
https://api.healthtools.codeforafrica.org/
MIT License
19 stars 20 forks source link

Wrap external calls with try catch statements #53

Open DavidLemayian opened 6 years ago

DavidLemayian commented 6 years ago

Currently external calls aren't "sandboxed" to avoid complete failure. We should therefore have every method doing an external call in try statements and raise exceptions appropriately.

Ref: #52