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