added error handling

This commit is contained in:
2026-01-12 22:18:22 +01:00
parent 743bebb277
commit 9f7683caa9
3 changed files with 49 additions and 5 deletions

15
app/templates/error.html Normal file
View File

@@ -0,0 +1,15 @@
{% extends "base.html" %}
{% block content %}
<style>
.container {
text-align: center;
}
</style>
<div class="container">
<h1>> Error:</h1>
<h1 style="color:#ffffff;">{{ error_message }}</h1>
</div>
{% endblock %}