[openstreetmap/openstreetmap-website] Prevent exceptions while reversing directions (#2521)

Holger Jeromin notifications at github.com
Sun Jan 26 10:33:19 UTC 2020


The current code fetches the old strings (even if empty) and fetches the coordinates when valid.
Ignoring invalid coordinates seems to be a good approach.

-- 
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/pull/2521#issuecomment-578488860
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200126/4f82358a/attachment.htm>


More information about the rails-dev mailing list