From e6a3836aab3e16dd2201136d0112d92f0b3356d6 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 14 May 2018 01:20:02 +0100 Subject: Hide all non-TaskError exceptions from users --- app/templates/tasks/view.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/templates/tasks/view.html') diff --git a/app/templates/tasks/view.html b/app/templates/tasks/view.html index d47203f..df980fb 100644 --- a/app/templates/tasks/view.html +++ b/app/templates/tasks/view.html @@ -5,10 +5,10 @@ Working {% endblock %} {% block content %} - {% if "error" in info %} + {% if "error" in info or info.status == "FAILURE" or info.status == "REVOKED" %}

Task Failed

-

{{ info. error }}

+
{{ info.error }}
{% else %}

Working…

-- cgit v1.2.3