mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Merge pull request #2540 from SchrodingersGat/500
Adds custom error handler page for 500
This commit is contained in:
commit
0c37c2ce13
19
InvenTree/templates/500.html
Normal file
19
InvenTree/templates/500.html
Normal 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 %}
|
Loading…
Reference in New Issue
Block a user