if a file cannot be found print that preamble instead of just the filename
This commit is contained in:
parent
ba12e31280
commit
dc960f30f5
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user