missing early return

This commit is contained in:
Daniel García Aubert 2017-10-31 15:58:41 +01:00
parent d1093686a3
commit a4b2044e10

View File

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