Dennis Luxen
2013-08-09 20:16:26 +02:00
parent a542292ce2
commit 0285bb6ea5
3 changed files with 22 additions and 11 deletions
+2 -1
View File
@@ -22,7 +22,8 @@ or see http://www.gnu.org/licenses/agpl.txt.
OSRM::OSRM(const char * server_ini_path) {
if( !testDataFile(server_ini_path) ){
throw OSRMException("server.ini not found");
std::string error_message = std::string(server_ini_path) + " not found";
throw OSRMException(error_message.c_str());
}
IniFile serverConfig(server_ini_path);