diff --git a/error.spt b/error.spt index 86cd22d02d..47651f99e3 100644 --- a/error.spt +++ b/error.spt @@ -17,6 +17,8 @@ except Exception as e: if isinstance(response, LazyResponse): response.render_body(state) err = response.body +if code == 500 and not err: + err = _("Looks like you've found a bug! Sorry for the inconvenience, we'll get it fixed ASAP!") [----------------------------------------] text/html {% extends "templates/base.html" %}