This commit is contained in:
Daniel García Aubert
2017-11-03 08:48:13 +01:00
parent 717332d941
commit 2854d0252c
+1 -1
View File
@@ -614,7 +614,7 @@ function augmentError (options) {
return function mapError (err, req, res, next) {
const { mapconfig } = res.locals;
if (augmentError) {
if (addContext) {
err = Number.isFinite(err.layerIndex) ? populateError(err, mapconfig) : err;
}