onaio / gisida

JavaScript library that converts MapSpec layers to beautiful, interactive maps using Mapbox GL
http://gisida.onalabs.org/
Apache License 2.0
11 stars 3 forks source link

Errors need to be handled appropriately with user friendly error messages #463

Open kelvin-muchiri opened 4 years ago

kelvin-muchiri commented 4 years ago

Errors especially API request errors have not been handled. For instance, when fetching data from the API and a 500 error response is received, the spinner on the map renders continuously. This should be modified such that a user-friendly message is displayed instead