adding error stack information to error reporter

main
Ezequiel Bergamaschi 2015-05-09 04:55:40 -03:00
parent f57e98309a
commit 740de21ea1
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ function buildDesigner(options) {
headers: {"Content-Type": "application/json", "Accept": "application/json"}, headers: {"Content-Type": "application/json", "Accept": "application/json"},
data: JSON.stringify({ data: JSON.stringify({
jsErrorMsg: "Message: '" + errorMsg + "', line:'" + lineNo + "', url: :" + url, jsErrorMsg: "Message: '" + errorMsg + "', line:'" + lineNo + "', url: :" + url,
jsStack: window.errorStack, jsStack: window.event.errorStack || window.errorStack,
userAgent: navigator.userAgent, userAgent: navigator.userAgent,
mapId: options.mapId mapId: options.mapId
}) })