matheusgomes28 / urchin

Headless CMS written in Golang
MIT License
60 stars 19 forks source link

Serve Proper Error Pages #58

Open matheusgomes28 opened 5 months ago

matheusgomes28 commented 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:

Other places where the error page is needed to be returned: