From aff52e9abc5f0695843b59e684baa0eee793a3cc Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 22 Mar 2020 15:54:42 +0100 Subject: log warn message --- src/http/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http') diff --git a/src/http/http.go b/src/http/http.go index c35f378..9bf35e0 100644 --- a/src/http/http.go +++ b/src/http/http.go @@ -281,7 +281,7 @@ func pathHandler(w http.ResponseWriter, r *http.Request) { t := template.New("") t, err = t.ParseGlob("./hosted/tmpl/*.html") if err != nil { - logrus.Warn(err) + logrus.Warn("Could not parse the template: %s", err) return } -- cgit 1.4.1