### Description

Closes #7186 by showing the HTTP status code + status text. For example: `503 
Service Unavailable`.

### How has this been tested?

not sure if it's fastly's fault or whatever, but these 503 errors are coming 
from some intermediary, not from the ruby code in this repository. Therefore, 
it's tricky to test. the [browser devtools' 
overrides](https://developer.chrome.com/docs/devtools/overrides) isn't powerful 
enough, so I setup a local HTTP server, and manually overwrote the URL in the 
JS code.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * handle API errors with no content

-- File Changes --

    M app/assets/javascripts/index_modules/note.js (2)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to