mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 12:10:55 +00:00
Merge pull request #2501 from sergeylanzman/change-template-error-log
temple parse error write in log as trace. change to error
This commit is contained in:
commit
21d1267c14
@ -217,7 +217,7 @@ func BuildTemplate(dir string, files ...string) error {
|
|||||||
t, err = getTemplate(self.root, file, v...)
|
t, err = getTemplate(self.root, file, v...)
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logs.Trace("parse template err:", file, err)
|
logs.Error("parse template err:", file, err)
|
||||||
} else {
|
} else {
|
||||||
beeTemplates[file] = t
|
beeTemplates[file] = t
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user