Closed karussell closed 6 years ago
Such a mapper is implemented even in the docs https://www.dropwizard.io/1.1.0/docs/manual/core.html#error-handling so I should be able to easily implement this :)
Update: fixed via https://github.com/graphhopper/graphhopper/pull/1407
In MapMatching.computeViterbiSequence(MapMatching.java:403) an IllegalArgumentException is thrown with http code 500 but it should be 400
And the message shouldn't be "There was an error processing your request. It has been logged (ID xy)" but use the illegal arg exception message in this case (?)