diff options
-rw-r--r-- | src/http/http.go | 4 |
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 } |