Permalink
Browse files

Show full template error

  • Loading branch information...
1 parent d6000a2 commit db33a33e6128a9d0e505c2ce0688910f3cc3b5e3 @bradleypeabody bradleypeabody committed with bep Jan 11, 2017
Showing with 1 addition and 2 deletions.
  1. +1 −2 tpl/template.go
View
@@ -140,8 +140,7 @@ func (t *GoHTMLTemplate) executeTemplate(context interface{}, w io.Writer, layou
if templ != nil {
if err := templ.Execute(w, context); err != nil {
- // Printing the err is spammy, see https://github.com/golang/go/issues/17414
- helpers.DistinctErrorLog.Println(layout, "is an incomplete or empty template")
+ helpers.DistinctErrorLog.Println(layout, err)
}
worked = true
break

0 comments on commit db33a33

Please sign in to comment.