Got rid of Response::build_500()

This change is not tested (mostly due to the difficulties of triggering
an internal server error).
This commit is contained in:
Veloman Yunkan
2022-03-30 20:05:37 +04:00
committed by Matthieu Gautier
parent 2028bf3a98
commit 2a20e87341
6 changed files with 41 additions and 43 deletions

View File

@ -36,7 +36,6 @@ skin/search_results.css
templates/search_result.html
templates/no_search_result.html
templates/error.html
templates/500.html
templates/index.html
templates/suggestion.json
templates/head_taskbar.html

View File

@ -1,16 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="content-type" />
<title>Internal Server Error</title>
</head>
<body>
<h1>Internal Server Error</h1>
<p>
An internal server error occured. We are sorry about that :/
</p>
<p>
{{ error }}
</p>
</body>
</html>