I suggest you ...

_errs.push not working

I'm not sure where to post this - when I try to use _errs.push from the console, it doesn't work:

> window._errs.push(new Error())
Uncaught TypeError: Cannot read property '0' of undefined 50b515068d4262042b000058.js:3
x 50b515068d4262042b000058.js:3
Posted 0 errors to errorception.com

1 vote
Sign in
Sign in with: Facebook Google
Signed in as (Sign out)
You have left! (?) (thinking…)
Joseph Gentle shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
completed  ·  AdminRakesh Pai (Founder, Errorception) responded  · 

_errs.push currently requires that you throw the error immediately afterwards. So the right way to use it would be as follows:

throw e;

Also, this won’t work from inside the console, since `throw e` doesn’t call the window.onerror handler. You’ll have to do this from a script somehow included on the page.

I’ve been getting tons of requests to remove the need to need to `throw e`, so it’s something I’ll be incorporating soon. Your existing code will continue to work when I roll this out. Watch the blog for updates.


Sign in
Sign in with: Facebook Google
Signed in as (Sign out)

Feedback and Knowledge Base