vroom
vroom copied to clipboard
Handle routing engine http statuses
Hello! I migrated vroom from v1.13.0
to v1.14.0
and got a Missing durations
error. Then I discovered that the problem is connected to the requirement of adding the postfix ors/v2
to the host
setting. But the main problem is that vroom doesn't handle any HTTP status codes, so it's hard to debug such errors. Perhaps a good option would be to throw a RoutingException
?
The status just drops https://github.com/VROOM-Project/vroom/blob/1fd711bc8c20326dd8e9538e2c7e4cb1ebd67bdb/src/routing/http_wrapper.cpp#L123-L126
and I received an error related to the request body https://github.com/VROOM-Project/vroom/blob/1fd711bc8c20326dd8e9538e2c7e4cb1ebd67bdb/src/routing/http_wrapper.cpp#L161-L164