Catch AccountNotFoundException and show 404 page

This commit is contained in:
Lexi / Zoe 2021-09-16 21:05:15 +02:00
parent 930726432e
commit 19b8075e3c
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
2 changed files with 41 additions and 5 deletions

View file

@ -0,0 +1,14 @@
{% extends "base.html.twig" %}
{% block title %}Account not found{% endblock %}
{% block content %}
<h2>Account not found</h2>
<div class="error_box">
<h4>Error</h4>
<p>The account with the ID {{ id }} was not found.</p>
</div>
<p>Go back to <a href="/accounts">account list</a>.</p>
{% endblock %}