diff --git a/main.go b/main.go index a23026e..2d8aa08 100644 --- a/main.go +++ b/main.go @@ -252,6 +252,10 @@ func main() { l.User = user } err = templ.ExecuteTemplate(w, "landing", l) + if err != nil { + log.Println(err) + http.Error(w, err.Error(), http.StatusInternalServerError) + } } } }))