mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
load_map: improve formatting of error message within layer
This commit is contained in:
parent
9a0bb92acd
commit
5c184a5075
@ -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…
x
Reference in New Issue
Block a user