load_map: improve formatting of error message within layer

This commit is contained in:
Dane Springmeyer 2009-08-27 04:48:32 +00:00
parent 9a0bb92acd
commit 5c184a5075

View file

@ -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;
} }