From fd285cfac7d571d91c9512262b382df43ad29a90 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Mon, 4 Jul 2016 13:11:19 +0200
Subject: [PATCH] [experiments] Only show user errors in case the block is not
 cached

---
 beat/web/experiments/templates/experiments/view.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/beat/web/experiments/templates/experiments/view.html b/beat/web/experiments/templates/experiments/view.html
index 56c944419..f464825be 100644
--- a/beat/web/experiments/templates/experiments/view.html
+++ b/beat/web/experiments/templates/experiments/view.html
@@ -256,7 +256,7 @@
                     </li>
                     {% endif %}
                     {% if block.done and block_status != 'Cancelled' %}
-                    {% if error_report %}
+                    {% if error_report and block_status != 'Cached' %}
                     <li>Captured Errors (on user code):
                       <pre class="console-output">{{ error_report }}</pre>
                     </li>
-- 
GitLab