Project-OSRM / osrm-backend

Open Source Routing Machine - C++ backend
http://map.project-osrm.org
BSD 2-Clause "Simplified" License
6.42k stars 3.4k forks source link

Empty error object in case of impossible routes #5458

Closed dolsup closed 3 months ago

dolsup commented 5 years ago

Hi, I'm using osrm@5.22.0 node module.

I get empty error object ({}) when I request impossible route. and then result is undefined.

How to reproduce:

osrm.route({
    coordinates: [
        [-80.13084277510643,26.116092194537988], // Florida, US
        [126.89424133300781,37.48542022705078] // Seoul, Korea
    ]
});
github-actions[bot] commented 4 months ago

This issue seems to be stale. It will be closed in 30 days if no further activity occurs.