From c6c825fedc0d83bc50e19fc1eb38e70f088fdb9c Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Sat, 9 May 2015 17:28:59 -0300 Subject: [PATCH] fix error stack not reporting to autolog --- wise-editor/src/main/webapp/js/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wise-editor/src/main/webapp/js/editor.js b/wise-editor/src/main/webapp/js/editor.js index 9bb7399d..c84e3056 100644 --- a/wise-editor/src/main/webapp/js/editor.js +++ b/wise-editor/src/main/webapp/js/editor.js @@ -78,7 +78,7 @@ function buildDesigner(options) { headers: {"Content-Type": "application/json", "Accept": "application/json"}, data: JSON.stringify({ jsErrorMsg: "Message: '" + errorMsg + "', line:'" + lineNo + "', url: :" + url, - jsStack: window.event.errorStack || window.errorStack, + jsStack: window.event.error.stack || window.errorStack, userAgent: navigator.userAgent, mapId: options.mapId })