Add system for showing template render errors

Makes troubleshooting bad templates much easier. Need to convert
everything over.
This commit is contained in:
Eli Ribble 2025-11-10 22:16:23 +00:00
parent 7b48f6eddf
commit b4830f7684
No known key found for this signature in database
2 changed files with 52 additions and 14 deletions

View file

@ -173,7 +173,8 @@ func getRoot(w http.ResponseWriter, r *http.Request) {
return
}
if has {
err = htmlDashboard(r.Context(), w, user)
htmlDashboard(r.Context(), w, user)
return
} else {
err = htmlOauthPrompt(w, user)
}