DeployBoard / DeployBoard/deployboard-python

Create generic 500 page

Offen
#76 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement web
Vorherrschende Sprache
Python
Sterne
10
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
backend
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.