Open matheusgomes28 opened 5 months ago
Certain endpoints are returning errors as Json objects. We need to serve actual HTML error pages.
Here are some of the places I've noticed json errors being returned instead of HTML pages:
addCachableHandler(...)
Other places where the error page is needed to be returned:
contactHandler(...)
app/contact.go
Certain endpoints are returning errors as Json objects. We need to serve actual HTML error pages.
Here are some of the places I've noticed json errors being returned instead of HTML pages:
addCachableHandler(...)
.Other places where the error page is needed to be returned:
contactHandler(...)
inapp/contact.go