about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-03-22 15:54:42 +0100
committerEmile <hanemile@protonmail.com>2020-03-22 15:54:42 +0100
commitaff52e9abc5f0695843b59e684baa0eee793a3cc (patch)
tree522d58786bb8e9d7bd304fd9e45887dbb93cb6d5 /src
parentee27c5769e444c14eb657dc5bd6110ea01845443 (diff)
log warn message
Diffstat (limited to 'src')
-rw-r--r--src/http/http.go2
1 files changed, 1 insertions, 1 deletions
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
 	}