As discussed in 
https://github.com/openstreetmap/openstreetmap-website/pull/5474#issuecomment-2585349128,
 this PR adds an error handling in case the API request fails.

![image](https://github.com/user-attachments/assets/4d2d2e77-fcb5-43c4-a5ba-a4c3ffaa8b71)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5551

-- Commit Summary --

  * Added error handling for data layer

-- File Changes --

    M app/assets/javascripts/index/layers/data.js (23)
    M config/locales/en.yml (1)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5551.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5551.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5551
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to