error.njk: add default string to display when there is no error_id

Related: #17
This commit is contained in:
Alice Gaudon 2021-01-23 18:09:53 +01:00
parent 1c71f66150
commit 24785c3e71

View File

@ -29,7 +29,7 @@
</main> </main>
<div class="contact"> <div class="contact">
Error ID: {{ error_id }} Error ID: {{ error_id | default('Request has no indentifier.') }}
<br> <br>
If you think this isn't right, please contact us with the above error ID at If you think this isn't right, please contact us with the above error ID at
<a href="mailto:{{ app.contact_email }}">{{ app.contact_email }}</a>. <a href="mailto:{{ app.contact_email }}">{{ app.contact_email }}</a>.