1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 17:10:54 +00:00

temple parse error write in log as trace. change to error

This commit is contained in:
Sergey Lanzman 2017-03-14 12:55:40 +02:00
parent 206f736819
commit 3e37b97549

View File

@ -217,7 +217,7 @@ func BuildTemplate(dir string, files ...string) error {
t, err = getTemplate(self.root, file, v...)
}
if err != nil {
logs.Trace("parse template err:", file, err)
logs.Error("parse template err:", file, err)
} else {
beeTemplates[file] = t
}