Add system for showing template render errors
Makes troubleshooting bad templates much easier. Need to convert everything over.
This commit is contained in:
parent
7b48f6eddf
commit
b4830f7684
2 changed files with 52 additions and 14 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue