diff --git a/taglibs/core/core-transformer.js b/taglibs/core/core-transformer.js index 9be703c6c..b41e630e5 100644 --- a/taglibs/core/core-transformer.js +++ b/taglibs/core/core-transformer.js @@ -109,7 +109,7 @@ module.exports = function transform(el, context) { let attrName = attr.name; if (!attrName) { if (!node.addDynamicAttributes) { - node.addError('Node does not support the "attrs" attribute'); + context.addError(el, 'Node does not support the "attrs" attribute'); } else { node.addDynamicAttributes(attr.value); }