diff options
author | Emile <hanemile@protonmail.com> | 2020-03-22 15:54:42 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2020-03-22 15:54:42 +0100 |
commit | aff52e9abc5f0695843b59e684baa0eee793a3cc (patch) | |
tree | 522d58786bb8e9d7bd304fd9e45887dbb93cb6d5 /src/http | |
parent | ee27c5769e444c14eb657dc5bd6110ea01845443 (diff) |
log warn message
Diffstat (limited to 'src/http')
-rw-r--r-- | src/http/http.go | 2 |
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 } |