show name of missing .ini file
This commit is contained in:
		
							parent
							
								
									a609a1c6c2
								
							
						
					
					
						commit
						75cdefa4fe
					
				| @ -36,7 +36,8 @@ public: | ||||
|     IniFile(const char * configFile) { | ||||
|         std::ifstream config( configFile ); | ||||
|         if(!config) { | ||||
|             throw OSRMException("[config] .ini not found"); | ||||
|             std::string str = "[config] " + std::string(configFile) + " not found"; | ||||
|             throw OSRMException(str.c_str()); | ||||
|         } | ||||
| 
 | ||||
|         std::string line; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user