fix
This commit is contained in:
parent
2c78d862a3
commit
54a54714cd
3
docs/test.http
Normal file
3
docs/test.http
Normal file
@ -0,0 +1,3 @@
|
||||
GET http://localhost:5000/route/v1/driving/120.5579925,31.2905084;120.5269224,31.3112249?steps=true HTTP/1.1
|
||||
|
||||
-Werror=extra
|
||||
@ -15,7 +15,8 @@ bool IOConfig::IsValid() const
|
||||
bool success = true;
|
||||
for (auto &fileName : required_input_files)
|
||||
{
|
||||
if (!boost::filesystem::is_regular_file({base_path.string() + fileName.string()}))
|
||||
boost::system::error_code ec;
|
||||
if (!boost::filesystem::is_regular_file({base_path.string() + fileName.string()},ec))
|
||||
{
|
||||
util::Log(logWARNING) << "Missing/Broken File: " << base_path.string()
|
||||
<< fileName.string();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user