[openstreetmap/openstreetmap-website] undefined method `split' when Nomintim isn't reachable (Issue #4137)
Tom Hughes
notifications at github.com
Fri Aug 4 07:53:00 UTC 2023
I think @mtmail has the correct diagnosis - this is the backtrace I get:
```
NoMethodError - undefined method `split' for nil:NilClass:
app/controllers/geocoder_controller.rb:94:in `search_osm_nominatim'
app/controllers/application_controller.rb:295:in `better_errors_allow_inline'
config/initializers/compressed_requests.rb:27:in `call'
config/initializers/cors.rb:9:in `call'
```
In which case I think that this is a Nominatim side bug and there's not a huge amount we can do on our side as the exception is in a library.
What did you mean by "incorrect error" exactly @pnorman?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4137#issuecomment-1665173772
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/4137/1665173772 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230804/e3cebd47/attachment.htm>
More information about the rails-dev
mailing list