REMOVE DEBUG LOG

This commit is contained in:
Andrea Spacca 2018-12-15 21:42:53 +01:00
parent 64344fcf4d
commit f4d00db5e1

View file

@ -217,7 +217,6 @@ func (s *Server) viewHandler(w http.ResponseWriter, r *http.Request) {
if acceptsHTML(r.Header) { if acceptsHTML(r.Header) {
if err := htmlTemplates.ExecuteTemplate(w, "index.html", data); err != nil { if err := htmlTemplates.ExecuteTemplate(w, "index.html", data); err != nil {
s.logger.Println(err)
http.Error(w, err.Error(), http.StatusInternalServerError) http.Error(w, err.Error(), http.StatusInternalServerError)
return return
} }