-
Notifications
You must be signed in to change notification settings - Fork 280
Closed
Description
The following throws an error:
;[1].forEach(function() {
stacktrace.get().then(function(trace) {
console.log("trace: "+trace)
}).catch(function(e) {
console.log("Your error sir: "+e)
})
})
The error is:
TypeError: Line Number must be a Number
at Object.StackFrame.setLineNumber (http://localhost:8100/generatedBuild/stackinfo.umd.js:896:23)
at Object.StackFrame (http://localhost:8100/generatedBuild/stackinfo.umd.js:855:18)
at Object.<anonymous> (http://localhost:8100/generatedBuild/stackinfo.umd.js:747:24)
at Array.map (native)
at Object.ErrorStackParser$$parseV8OrIE [as parseV8OrIE] (http://localhost:8100/generatedBuild/stackinfo.umd.js:743:53)
at Object.ErrorStackParser$$parse [as parse] (http://localhost:8100/generatedBuild/stackinfo.umd.js:717:29)
at Object.<anonymous> (http://localhost:8100/generatedBuild/stackinfo.umd.js:3807:52)
at $$$internal$$initializePromise (http://localhost:8100/generatedBuild/stackinfo.umd.js:1275:9)
at new $$es6$promise$promise$$Promise
Its having trouble parsing the at Array.forEach (native) part in this Chrome stack trace string:
"Error
at Object.StackTrace$$get [as get] (http://localhost:8100/generatedBuild/stackinfo.umd.js:3788:23)
at http://localhost:8100/generatedBuild/stackinfo.umd.js:3898:16
at Array.forEach (native)
at Object.21../exceptionMode (http://localhost:8100/generatedBuild/stackinfo.umd.js:3897:6)
at s (http://localhost:8100/generatedBuild/stackinfo.umd.js:1:516)
at e (http://localhost:8100/generatedBuild/stackinfo.umd.js:1:687)
at http://localhost:8100/generatedBuild/stackinfo.umd.js:1:705
at a (http://localhost:8100/generatedBuild/stackinfo.umd.js:1:247)
at http://localhost:8100/generatedBuild/stackinfo.umd.js:1:252"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels