Merge pull request #779 from springmeyer/better-file-not-found-error
Better file not found error
This commit is contained in:
commit
1e7e5ea57c
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user