ajnisbet / opentopodata

Open alternative to the Google Elevation API!
https://www.opentopodata.org
MIT License
314 stars 68 forks source link

Better error messages for invalid datasets #6

Closed ajnisbet closed 4 years ago

ajnisbet commented 4 years ago

Currently if a dataset in config.yml is in an invalid format, the server keeps running and the API returns either a generic server error or a null elevation.

What should happen is either that the server fails with a descriptive error message, or the API returns a helpful error message.