From f36446efac3e6aee0b27971c4c3f1a39c5c00e70 Mon Sep 17 00:00:00 2001 From: Montana Date: Tue, 9 Oct 2018 09:55:11 -0400 Subject: [PATCH] Add a default error message to the error template --- templates/error.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/error.html b/templates/error.html index 773a6318..c8714c01 100644 --- a/templates/error.html +++ b/templates/error.html @@ -4,7 +4,11 @@
-

{{ message }}

+{% if message %} +

{{ message }}

+{% else %} +

An error occurred.

+{% endif %}