fix: trying to fix error in matching code

This commit is contained in:
Max Richter
2025-09-28 14:40:29 +02:00
parent fb0b80be78
commit 57ea1f6e3e
12 changed files with 39 additions and 14 deletions

View File

@@ -65,5 +65,5 @@ func ParseTemplateBlock(template Slice, blockType BlockType) (block Block, err e
return parseYamlTemplate(template)
}
return block, NewErrorf("invalid template").WithPosition(template.start, template.end)
return block, NewErrorf("invalid template: '%s'", template.String()).WithPosition(template.start, template.end)
}