Merge pull request #779 from springmeyer/better-file-not-found-error

Better file not found error
This commit is contained in:
Dennis Luxen 2013-11-05 03:03:23 -08:00
commit 1e7e5ea57c

View File

@ -65,7 +65,7 @@ namespace boost {
if(boost::filesystem::is_regular_file(input_string)) { if(boost::filesystem::is_regular_file(input_string)) {
v = boost::any(boost::filesystem::path(input_string)); v = boost::any(boost::filesystem::path(input_string));
} else { } else {
throw OSRMException(input_string); throw OSRMException(input_string + " not found");
} }
} }
} }