about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http/http.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http/http.go b/src/http/http.go
index 9bf35e0..b0e0145 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -286,7 +286,9 @@ func pathHandler(w http.ResponseWriter, r *http.Request) {
 	}
 
 	err = t.ExecuteTemplate(w, "index", content)
-	logrus.Warn(err)
+	if err != nil {
+		logrus.Warn("Error executing the template: %s", err)
+	}
 	return
 }