mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
fix error stack not reporting to autolog
This commit is contained in:
parent
69a3889ca2
commit
d15a97ef02
@ -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.event.errorStack || window.errorStack,
|
jsStack: window.event.error.stack || window.errorStack,
|
||||||
userAgent: navigator.userAgent,
|
userAgent: navigator.userAgent,
|
||||||
mapId: options.mapId
|
mapId: options.mapId
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user