learning-unlimited / ESP-Website

A website to help manage the logistics of large, short-term educational programs
82 stars 57 forks source link

"Whoops" error page should be more helpful #3542

Open milescalabresi opened 2 years ago

milescalabresi commented 2 years ago

There are a handful of issues that propose showing more specific error pages for certain errors. More broadly, I think we should move away from the generic "whoops" page and towards a page that describes what the error is, what (if anything) an admin can do about it, and what (if anything) to say to the web team member.

willgearty commented 1 year ago

Keep in mind that often these error pages are seen by non-admin users, so we don't want any private information or information that could be used for hacking, etc to be shown on the page. Further, it should be clear what steps normal users could do to solve the problem (if any) vs. what steps admins could do.

milescalabresi commented 1 year ago

That is true. Maybe we should put an if tag in the template and give more information if the user is logged in as an admin