Hi Gary, I tried that, but it doesn't seem to be fired

window.onerror = function (e) {
    alert(e);
}

try {
    throw 'Testing;
} catch (e) {}

This doesn't seem to work.

Thanks.


On 24/01/11 12:31, Gary Katsevman wrote:
I believe that the window.onerror event is still fired (correct me if
I'm wrong). The only downside to using that event handler is that you
lose the stack.

------------------------
Gary Katsevman
Computer Science Undergraduate
Northeastern University
gkatsev.com


--
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to