Problem statement
When we have an issue with dev or staging that causes an error to be thrown. all we see on the site is 'sorry the service is unavailable right now' we then have to go hunting for the cause of an exception or search the logs (to which we don't all have access to)
Proposed solution
a conditional clause that states when not in the production environment we display an verbose error page instead of the default error page
- Bring all error page templates into one template
- Modify error page template to print out the actual error
- Add in debug flag for production
Problem statement
When we have an issue with dev or staging that causes an error to be thrown. all we see on the site is 'sorry the service is unavailable right now' we then have to go hunting for the cause of an exception or search the logs (to which we don't all have access to)
Proposed solution
a conditional clause that states when not in the production environment we display an verbose error page instead of the default error page