diff options
author | bep <bjorn.erik.pedersen@gmail.com> | 2015-01-22 13:14:04 +0300 |
---|---|---|
committer | bep <bjorn.erik.pedersen@gmail.com> | 2015-01-22 13:14:04 +0300 |
commit | 020c0b863f2b28b4ee465b04d7d2b81035d2d5bc (patch) | |
tree | 15b20105cff126496efe8c51a86bc40875faf192 /tpl | |
parent | 6db6d33bece33b2527f3a837ef1a666c1a30c744 (diff) |
Revert "Quick-and-dirty way to print details of template errors"
This reverts commit 42b33102cf619e08c6b6a49a50a0995e8f14773f.
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/template.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tpl/template.go b/tpl/template.go index 98380bbcb..3cf983ce0 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 |