summaryrefslogtreecommitdiff
path: root/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'handler.go')
-rw-r--r--handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/handler.go b/handler.go
index d710b2a..0dc2033 100644
--- a/handler.go
+++ b/handler.go
@@ -59,7 +59,7 @@ func mkHttpHandler(h Handler, tpl *template.Template) http.HandlerFunc {
}
if err := tpl.Execute(rw, outdata); err != nil {
- log.Printf("Error executing template %s: %s", tpl.Name, err)
+ log.Printf("Error executing template %s: %s", tpl.Name(), err)
}
}
}