You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wxiaoguang 1c8bc4081a
Show friendly 500 error page to users and developers (#24110)
Close #24104

This also introduces many tests to cover many complex error handling
functions.

### Before

The details are never shown in production.

<details>

![image](https://user-images.githubusercontent.com/2114189/231805004-13214579-4fbe-465a-821c-be75c2749097.png)

</details>

### After

The details could be shown to site admin users. It is safe.

![image](https://user-images.githubusercontent.com/2114189/231803912-d5660994-416f-4b27-a4f1-a4cc962091d4.png)
1 year ago
..
alert.tmpl Support Issue forms and PR forms (#20987) 2 years ago
alert_details.tmpl Enforce tab indentation in templates (#15289) 3 years ago
delete_modal_actions.tmpl Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
disable_form_autofill.tmpl Disable form autofill (#17291) 3 years ago
footer.tmpl Add new captcha: cloudflare turnstile (#22369) 1 year ago
footer_content.tmpl Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form (#23626) 1 year ago
head.tmpl Fix various bugs for "install" page (#23194) 1 year ago
head_navbar.tmpl Use data-tooltip-content for tippy tooltip (#23649) 1 year ago
head_script.tmpl Show friendly 500 error page to users and developers (#24110) 1 year ago
paginate.tmpl Move helpers to be prefixed with `gt-` (#22879) 1 year ago