3 ms·
Cool... thanks for this list. I'll incorporate it in the FAQs. To answer your questions right here: The only info reported back is the three parameters from wi
by rakeshpai 15y ago
Cool... thanks for this list. I'll incorporate it in the FAQs.
To answer your questions right here: The only info reported back is the three parameters from window.onerror (error message, line number, file name), and the page on which the error occurred. It's submitted as a regular form POST. There's no distinction between different types of errors - everything that window.onerror catches is posted. I do have plans for an API (and several other features) in mind - it's still work in progress.
- iambot 15y agoAs an Aside: I would hope that you're sending back info on the user-agent as well (I only say this because you've not mentioned it). When an error is encountered it makes all the diffence that it was on a machine running ie7 (as an example).
- rakeshpai 15y agoOh yes, of course. I'm not explicitly sending the UA string. Since I'm just doing a client-side post, the UA string is sent as a part of the HTTP request itself. I record this, and errors are segregated by browsers by default automatically.
- sdepablos 15y agoI'm with iambot. In almost all cases knowing the browser and versions makes the difference.