Can`t get real stack message from window.onerror
GMCoder opened this issue · comments
Here are some error stack from window.onerror function I`ve got
{"message":"Cannot read property 'trigger' of undefined","stack":["TypeError"," Cannot read property 'trigger' of undefined\n at ","1","12"]}
Why anonymous?Not file url.
I don't recognize the format of this JSON, and it doesn't look like an onerror
argument. Is it JSON from a Rollbar occurrence? If so, what is in the key notifier.diagnostic.raw_error.stack
?
I don't recognize the format of this JSON, and it doesn't look like an
onerror
argument. Is it JSON from a Rollbar occurrence? If so, what is in the keynotifier.diagnostic.raw_error.stack
?
This json didn`t come from Rollbar.Just an error that i got with window.onerror.
@GMCoder I'm closing this as not addressable in rollbar.js. If I've misunderstood, and you can provide more context, feel free to reopen.