Use exception var in 404.html if available
{% block content %}
<h1>Page not found</h1>
-<p>This is not the page you were looking for.</p>
+<p>{% if exception %}{{ exception }}{% else %}This is not the page you were looking for.{% endif %}</p>
{% endblock content %}{% endraw %}
