[openstreetmap/openstreetmap-website] Add profile location (PR #5302)
Anton Khorev
notifications at github.com
Tue Mar 11 15:38:56 UTC 2025
@AntonKhorev commented on this pull request.
> + if (updateLocationName) {
+ if (locationInput.checkLocation) {
+ updateHomeLocation(false, savedLat, savedLon, updateHomeLocation);
+ } else {
+ updateHomeLocation();
+ }
+ }
I put `catch` here because `L.latLng()` can throw on invalid coordinates. What is `updateHomeLocation` supposed to be able to throw?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5302#pullrequestreview-2675105179
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5302/review/2675105179 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250311/0cf82cdb/attachment.htm>
More information about the rails-dev
mailing list