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:
parent
ef36ecd376
commit
4bc4f77c29
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user