DeployBoard / DeployBoard/deployboard-python

Create generic 500 page

未关闭
#76 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement web
主要语言
Python
星标
10
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
backend
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。