diff --git a/luigi/static/visualiser/js/visualiserApp.js b/luigi/static/visualiser/js/visualiserApp.js
index <HASH>..<HASH> 100644
--- a/luigi/static/visualiser/js/visualiserApp.js
+++ b/luigi/static/visualiser/js/visualiserApp.js
@@ -245,8 +245,9 @@ function visualiserApp(luigi) {
         updateSidebar(tabId);
     }
 
-    function showErrorTrace(error) {
-        $("#errorModal").empty().append(renderTemplate("errorTemplate", decodeError(error)));
+    function showErrorTrace(data) {
+        data.error = decodeError(data.error)
+        $("#errorModal").empty().append(renderTemplate("errorTemplate", data));
         $("#errorModal").modal({});
     }
Display decoded error message in graphs.

Error message was incorrectly passed to decodeError function.