if a file cannot be found print that preamble instead of just the filename
This commit is contained in:
@@ -65,7 +65,7 @@ namespace boost {
|
||||
if(boost::filesystem::is_regular_file(input_string)) {
|
||||
v = boost::any(boost::filesystem::path(input_string));
|
||||
} else {
|
||||
throw OSRMException(input_string);
|
||||
throw OSRMException("File does not exist: " + input_string);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user