diff --git a/InvenTree/templates/InvenTree/settings/plugin.html b/InvenTree/templates/InvenTree/settings/plugin.html index e5bf97a512..ef0888618b 100644 --- a/InvenTree/templates/InvenTree/settings/plugin.html +++ b/InvenTree/templates/InvenTree/settings/plugin.html @@ -103,7 +103,9 @@ -

{% trans "Plugin errors" %}

+{% plugin_errors as pl_errors %} +{% if pl_errors %} +

{% trans "Plugin Error Stack" %}

@@ -115,7 +117,6 @@ - {% plugin_errors as pl_errors %} {% for stage, errors in pl_errors.items %} {% for error_detail in errors %} {% for name, message in error_detail.items %} @@ -130,4 +131,6 @@
+{% endif %} + {% endblock %}