diff --git a/template.go b/template.go index d4859cd7..41da7ad9 100644 --- a/template.go +++ b/template.go @@ -218,6 +218,7 @@ func BuildTemplate(dir string, files ...string) error { } if err != nil { logs.Error("parse template err:", file, err) + return err } else { beeTemplates[file] = t }