Fix typo
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user