mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 03:01:28 +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 {
|
if err != nil {
|
||||||
logs.Error("parse template err:", file, err)
|
logs.Error("parse template err:", file, err)
|
||||||
|
return err
|
||||||
} else {
|
} else {
|
||||||
beeTemplates[file] = t
|
beeTemplates[file] = t
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user