Setting collectWindowErrors to false stops handled errors from reporting
I have an example here http://jsfiddle.net/tGZGW/
It's based of the current master code.
It's new, but I recommend you try using this: https://github.com/devinrhode2/shield.js/blob/master/src/shield.js
Just define a onuncaughtException function that takes in one parameter, e, the exception from catch. Wrap your program code with the shield function as described in the inline docs there, and you should be good. You can then JSON.serialize the object, or pass it to an analytics library and just have it fill into your analytics dashboard
Please let me know how that goes for you.
I believe it's fixed in the issue-41 branch (in 183ecc26). Could you take a look and let me know? I've also updated the jsfiddle to quickly test the change - See http://jsfiddle.net/tGZGW/1/.
Thanks
Just verified. It's good. Pretty sure there should be no merge conflicts also ;)
@devinrhode2,occ I'm helping maintain TraceKit upstream.. If you want to recreate this issue/pull request for issue-41 in the master (https://github.com/csnover/TraceKit) That would be greatly appreciated.