improve formatting of error message during xml loading if document is not well formed
This commit is contained in:
parent
4367b813a8
commit
5fccc3ae62
1 changed files with 2 additions and 2 deletions
|
@ -89,8 +89,8 @@ namespace mapnik
|
|||
config_error ex( msg );
|
||||
|
||||
os.str("");
|
||||
os << "in file '" << error->file << "' at line "
|
||||
<< error->line;
|
||||
os << "(encountered in file '" << error->file << "' at line "
|
||||
<< error->line << ")";
|
||||
|
||||
ex.append_context( os.str() );
|
||||
|
||||
|
|
Loading…
Reference in a new issue