mirror of
https://github.com/astaxie/beego.git
synced 2025-06-21 22:40:17 +00:00
Update template.go
This commit is contained in:
@ -218,6 +218,7 @@ func BuildTemplate(dir string, files ...string) error {
|
||||
}
|
||||
if err != nil {
|
||||
logs.Error("parse template err:", file, err)
|
||||
templatesLock.Unlock()
|
||||
return err
|
||||
}
|
||||
beeTemplates[file] = t
|
||||
|
Reference in New Issue
Block a user