From: <tob...@us...> - 2014-05-03 21:35:46
|
Revision: 8174 http://sourceforge.net/p/bigdata/code/8174 Author: tobycraig Date: 2014-05-03 21:35:44 +0000 (Sat, 03 May 2014) Log Message: ----------- Improved error reporting on bad query Modified Paths: -------------- branches/BIGDATA_RELEASE_1_3_0/bigdata-war/src/html/js/workbench.js Modified: branches/BIGDATA_RELEASE_1_3_0/bigdata-war/src/html/js/workbench.js =================================================================== --- branches/BIGDATA_RELEASE_1_3_0/bigdata-war/src/html/js/workbench.js 2014-05-03 19:20:22 UTC (rev 8173) +++ branches/BIGDATA_RELEASE_1_3_0/bigdata-war/src/html/js/workbench.js 2014-05-03 21:35:44 UTC (rev 8174) @@ -715,8 +715,8 @@ function queryResultsError(jqXHR, textStatus, errorThrown) { $('#query-response, #query-export-container').show(); - $('#query-response').text('Error! ' + textStatus + ' ' + jqXHR.statusText); - highlightError(jqXHR.statusText, 'query'); + $('#query-response').text('Error! ' + textStatus + ' ' + jqXHR.responseText); + highlightError(jqXHR.responseText, 'query'); } function highlightError(description, pane) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |