mirror of
https://github.com/mapnik/mapnik.git
synced 2026-02-01 17:36:36 +00:00
improve formatting of error message during xml loading if document is not well formed
This commit is contained in:
parent
4367b813a8
commit
5fccc3ae62
@ -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…
x
Reference in New Issue
Block a user