Commit 21d1267c authored by astaxie's avatar astaxie Committed by GitHub

Merge pull request #2501 from sergeylanzman/change-template-error-log

temple parse error write in log as trace. change to error
parents 206f7368 3e37b975
...@@ -217,7 +217,7 @@ func BuildTemplate(dir string, files ...string) error { ...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment