Updated the error handling of geojson parser so that it is more clear where an error orginates
This commit is contained in:
parent
89e1cfaf10
commit
6e47b1bd10
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ struct error_handler
|
|||
auto start = err_pos;
|
||||
std::advance(err_pos,16);
|
||||
auto end = err_pos;
|
||||
s << what << " expected but got: " << std::string(start, end);
|
||||
s << "Mapnik geojson parsing error:" << what << " expected but got: " << std::string(start, end);
|
||||
throw std::runtime_error(s.str());
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue