From c0b61a2a5db2cf8277e4c77ef89681b46eeaf0eb Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Sat, 9 May 2015 04:55:40 -0300 Subject: [PATCH] adding error stack information to error reporter --- 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 886770e6..9bb7399d 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.errorStack, + jsStack: window.event.errorStack || window.errorStack, userAgent: navigator.userAgent, mapId: options.mapId })