[openstreetmap/openstreetmap-website] History: Gateway timeout error does not display properly (Issue #6282)
mmd
notifications at github.com
Sat Aug 2 21:42:04 UTC 2025
mmd-osm left a comment (openstreetmap/openstreetmap-website#6282)
This seems to be lack of error handling. At least in app/assets/javascripts/index/history.js, fetch operations in loadFirstChangesets and loadMoreChangesets don't check HTTP status codes, and treat response error messages as normal HTML.
<img width="655" height="292" alt="Image" src="https://github.com/user-attachments/assets/fd1bb55f-1716-433f-98e5-2e7cc78b0311" />
There are probably similar issues elsewhere, like for the list of changesets in history:
<img width="624" height="392" alt="Image" src="https://github.com/user-attachments/assets/3489a005-deb4-44e4-a129-f3a645c0ccbe" />
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6282#issuecomment-3146740855
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/6282/3146740855 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250802/18f8ba01/attachment.htm>
More information about the rails-dev
mailing list