mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
shapeindex: more consistent error output
This commit is contained in:
parent
404e221c25
commit
57c9aee63d
@ -98,7 +98,7 @@ int main (int argc,char** argv)
|
||||
}
|
||||
catch (std::exception const& ex)
|
||||
{
|
||||
clog << "Error:" << ex.what() << endl;
|
||||
clog << "Error: " << ex.what() << endl;
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -120,14 +120,14 @@ int main (int argc,char** argv)
|
||||
|
||||
if (! mapnik::util::exists (shapename_full))
|
||||
{
|
||||
clog << "error : file " << shapename_full << " does not exist" << endl;
|
||||
clog << "Error : file " << shapename_full << " does not exist" << endl;
|
||||
continue;
|
||||
}
|
||||
|
||||
shape_file shp (shapename_full);
|
||||
|
||||
if (! shp.is_open()) {
|
||||
clog << "error : cannot open " << shapename_full << endl;
|
||||
clog << "Error : cannot open " << shapename_full << endl;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user