missing early return
This commit is contained in:
parent
d1093686a3
commit
a4b2044e10
@ -292,7 +292,7 @@ MapController.prototype.instantiateTemplate = function(req, res, prepareParamsFn
|
||||
function finishTemplateInstantiation(err) {
|
||||
if (err) {
|
||||
err.label = 'NAMED MAP LAYERGROUP';
|
||||
next(err);
|
||||
return next(err);
|
||||
}
|
||||
|
||||
const { layergroup } = res.locals;
|
||||
|
Loading…
Reference in New Issue
Block a user