fix: trying to fix error in matching code
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user