mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 12:00:55 +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