all: fix error log when failed to opend included file
1 files changed, 1 insertions(+), 1 deletions(-) M element_include.go
M element_include.go => element_include.go +1 -1
@@ 48,7 48,7 @@ func parseInclude(doc *Document, line []byte) (el *elementInclude) { el.content, err = os.ReadFile(el.fpath) if err != nil { - log.Printf(`parseInclude %q: %s`, doc.file, err) + log.Printf(`parseInclude %q: %s`, el.fpath, err) return nil }