News for hackers. Stuff that matters.
Re:You Really Should Log Client-Side Errors by dmethvin on Wednesday April 04, 2012 @09:08AM (#3797339)
Rather than using $.ajax, I've used a simple image request with URL parameters for sending back error info. That has the benefit of allowing cross-domain transfers. Be sure to save the user-agent info as well so you can correlate errors with browsers.
Re:You Really Should Log Client-Side Errors by masklinn on Wednesday April 04, 2012 @12:32PM (#3798321)
That can be quite limiting, especially if you're trying to support MSIE as it has a hard cutoff at ~1000 characters for the URL (so you're limiting yourself to below 1k of data, which may not even be enough for a slightly deep stack trace).