mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-23 11:53:48 +01:00
adding error stack information to error reporter
This commit is contained in:
parent
cec637afbe
commit
c0b61a2a5d
@ -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
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user