diff --git a/pagure/templates/not_found.html b/pagure/templates/not_found.html index c512c40..06c8982 100644 --- a/pagure/templates/not_found.html +++ b/pagure/templates/not_found.html @@ -6,7 +6,7 @@ {% block content %}

Page not found (404)

- {% if error.description %} + {% if error and error.description %}

With the message:

{{ error.description }}
{% else %}