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) {
|
} catch (const config_error & ex) {
|
||||||
if ( ! name.empty() ) {
|
if ( ! name.empty() ) {
|
||||||
ex.append_context(string("in layer '") + name + "'");
|
ex.append_context(string("(encountered during parsing of layer '") + name + "')");
|
||||||
}
|
}
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue