[openstreetmap/openstreetmap-website] Forcing English language error response for /api/0.6/user/details (#2227)

mmd notifications at github.com
Sun May 19 08:32:51 UTC 2019


Right. At the time of raising exceptions, all structured content has already vanished and is no longer machine readable:

```
raise OSM::APIPreconditionFailedError, "Node #{id} is still used by ways #{ways.collect(&:id).join(',')}." unless ways.empty?
```

I think it would be good to work on this at some point in the future, but that will be a lot of work.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2227#issuecomment-493737741
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190519/26fb9abc/attachment-0001.html>


More information about the rails-dev mailing list