load_map: improve formatting of error message within layer
This commit is contained in:
parent
9a0bb92acd
commit
5c184a5075
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ namespace mapnik
|
|||
|
||||
} catch (const config_error & ex) {
|
||||
if ( ! name.empty() ) {
|
||||
ex.append_context(string("in layer '") + name + "'");
|
||||
ex.append_context(string("(encountered during parsing of layer '") + name + "')");
|
||||
}
|
||||
throw;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue