Merge pull request #2540 from SchrodingersGat/500

Adds custom error handler page for 500
This commit is contained in:
Oliver 2022-01-12 14:52:51 +11:00 committed by GitHub
commit 0c37c2ce13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,19 @@
{% extends "base.html" %}
{% load i18n %}
{% block page_title %}
InvenTree | {% trans "Internal Server Error" %}
{% endblock %}
{% block content %}
<div class='container-fluid'>
<h3>{% trans "Internal Server Error" %}</h3>
<div class='alert alert-danger alert-block'>
{% trans "The InvenTree server raised an internal error" %}<br>
{% trans "Refer to the error log in the admin interface for further details" %}
</div>
</div>
{% endblock %}