[openstreetmap/openstreetmap-website] Check response.ok before parsing JSON in query tool (PR #6724)

Marwin Hochfelsner notifications at github.com
Wed Jan 21 13:53:21 UTC 2026


@hlfan commented on this pull request.

Perhaps we should always read the response text if it isn't OK and pass it together with the status and status text down to the `.catch` section?



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

Message ID: <openstreetmap/openstreetmap-website/pull/6724/review/3687364816 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260121/657ad5e7/attachment.htm>


More information about the rails-dev mailing list