Handle permission errors for static files (Fix for #2358)

Version bump
This commit is contained in:
Ozzie Isaacs
2022-04-03 20:26:43 +02:00
parent fee76741a0
commit 8adae6ed0c
6 changed files with 33 additions and 18 deletions

View File

@@ -42,8 +42,9 @@ def error_http(error):
def internal_error(error):
return render_template('http_error.html',
error_code="Internal Server Error",
error_name=str(error),
error_code="500 Internal Server Error",
error_name='The server encountered an internal error and was unable to complete your '
'request. There is an error in the application.',
issue=True,
unconfigured=False,
error_stack=traceback.format_exc().split("\n"),