CodeWithAloha / HIERR

A Human-Centered Digital Engagement Process for the Hawai‘i Economic Recovery & Resilience Project with the State Office of Planning & Sustainable Development
https://hierr.vercel.app/
8 stars 7 forks source link

Add a custom 500 error page #142

Open avenmia opened 1 year ago

avenmia commented 1 year ago

The app gives a stacktrace when there's an error, it should instead give a custom 500 error page.

References: https://nextjs.org/docs/pages/building-your-application/configuring/error-handling https://nextjs.org/docs/pages/building-your-application/routing/custom-error#customizing-the-500-page