Issue
There are ~93 places in the code where osrm::util::exception is thrown but not one place where it is caught.
This causes all osrm binaries to exit with SIGABRT and no logs of the error. Discovered while patching Cucumber.
Note: osrm::RuntimeError is a subclass of osrm::util::exception so it is not sufficient to catch that.
Steps to reproduce
$ grep -rE "throw .*util::exception" src include | wc -l
93
$ grep -rE "catch.*util::exception" src include | wc -l
0
Issue
There are ~93 places in the code where
osrm::util::exceptionis thrown but not one place where it is caught.This causes all osrm binaries to exit with
SIGABRTand no logs of the error. Discovered while patching Cucumber.Note:
osrm::RuntimeErroris a subclass ofosrm::util::exceptionso it is not sufficient to catch that.Steps to reproduce