3 ms·
window.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
by masklinn 14y ago
window.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