1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 22:50:50 +00:00

return template build error

This commit is contained in:
zhufanmao 2017-09-02 17:55:26 +08:00
parent ef36ecd376
commit 4bc4f77c29

View File

@ -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
}