DeployBoard / DeployBoard/deployboard-python

Create generic 500 page

Open
#76 0 comments 0 reactions 0 assignees View on GitHub
enhancement web
Dominant language
Python
Stars
10
Forks
1
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Sometimes errors can't be displayed properly on a specific page, we should have a generic error page that can accept a custom error message to display. For example, when middleware functions fail, we may want to send the user to an error page, instead of attempting to load the next page with a mangled request.

**Describe the solution you'd like**
Create a generic 500.html error page/template that accepts a message that simply gets displayed on the page.

**Describe alternatives you've considered**
None

**Additional context**
None

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing error-page templates and the middleware functions that handle failed requests. Add the requested generic 500.html template and connect it so a supplied custom message is displayed instead of continuing to the next page; verify the error path renders the message correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.