From 703f78867653ed9c53a745f9808eb96ae8a89dc7 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Wed, 21 Feb 2018 21:28:39 +0000 Subject: Ensure query error messages survive the IPC serialisaion --- editor-instance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor-instance.js') diff --git a/editor-instance.js b/editor-instance.js index 008705f..8ed6674 100644 --- a/editor-instance.js +++ b/editor-instance.js @@ -175,7 +175,7 @@ function _stopExecTimer() { function handleError(err) { _stopExecTimer(); _destroyDataTable(); - $("#result-error").removeAttr("style").text("Error (" + err.code + ") - " + err.message); + $("#result-error").removeAttr("style").text("Error (" + err.code + ") - " + err.cause); _setExecutionStatusIndicator("ERROR"); $("#execution-time").text("failed after " + execElapsedTime + " ms"); } -- cgit v1.2.3