From: bep Date: Thu, 22 Jan 2015 10:14:04 +0000 (+0100) Subject: Revert "Quick-and-dirty way to print details of template errors" X-Git-Tag: v0.13~130 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=020c0b863f2b28b4ee465b04d7d2b81035d2d5bc;p=brevno-suite%2Fhugo Revert "Quick-and-dirty way to print details of template errors" This reverts commit 42b33102cf619e08c6b6a49a50a0995e8f14773f. --- diff --git a/tpl/template.go b/tpl/template.go index 98380bbc..3cf983ce 100644 --- a/tpl/template.go +++ b/tpl/template.go @@ -1154,7 +1154,6 @@ func (t *GoHtmlTemplate) AddInternalShortcode(name, content string) error { func (t *GoHtmlTemplate) AddTemplate(name, tpl string) error { _, err := t.New(name).Parse(tpl) if err != nil { - jww.ERROR.Println(err) t.errors = append(t.errors, &templateErr{name: name, err: err}) } return err