leaflet-geosearch icon indicating copy to clipboard operation
leaflet-geosearch copied to clipboard

Add error handler for HTTP errors

Open smeijer opened this issue 4 years ago • 2 comments

HTTP Status errors are currently unhandled. It is of course possible that the providers' backend is unreachable on some moments.

Simplest cause; the user is currently not connected to the internet. More troublesome; google/openstreetmap/algolia/... is experiencing server errors.

See https://github.com/smeijer/leaflet-geosearch/issues/173#issuecomment-717809230

smeijer avatar Oct 28 '20 10:10 smeijer

Very useful indeed, any news about this feature ?

Jyhem2000 avatar Oct 04 '21 15:10 Jyhem2000

Still open for contributions 🙂

smeijer avatar Oct 04 '21 16:10 smeijer