3 ms·
Only problem with this is that window.onerror isn't available in webkit.
by marcins 14y ago
Only problem with this is that window.onerror isn't available in webkit.
- masklinn 14y agowindow.onerror is available in all browsers. The issue of window.onerror is that the information it provides is not very good: there's no stacktrace and there's no detailed info, just a line number and a message.
- bosky101 14y agoerrorception 's founder gave a nice talk on all the various techniques here http://errorception.com/slides/jsfoo#summary-so-far http://errorception.com/slides/jsfoo#summary-so-far