[openstreetmap/openstreetmap-website] handle API errors with no content (PR #7194)

Holger Jeromin notifications at github.com
Wed Jul 8 13:19:39 UTC 2026


@HolgerJeromin commented on this pull request.



> @@ -38,7 +38,7 @@ export default function (map) {
         .then(response => {
           if (response.ok) return response;

Not related to the PR, but this looks fishy.
Why returning an unresolved response object which is never used.

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

Message ID: <openstreetmap/openstreetmap-website/pull/7194/review/4654493344 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260708/58a95e19/attachment.htm>


More information about the rails-dev mailing list