News for hackers. Stuff that matters.
Re:You should be using Google Analytics to log your startup'... by jreposa on Thursday April 05, 2012 @10:44AM (#3802724)
Well... Yes. It was helpful for that reason. I waded through many of the errors and traced them back to actual lines of code. It just so happens that many of the errors weren't particularly useful to me. I.e., not actionable.

Our browser tests include IE7, IE8, IE9, Safari, Firefox and Chrome. None of those errors are present in our tests. As you note, in many of the cases I could wrap the errors with notifications to the user.

But, really, if the google variable isn't loaded for a small set of users and I can't easily configure a test system that can reproduce it, I'm not going to take the time right now. I have too many other pressing things on my list.

Re:You should be using Google Analytics to log your startup'... by martian on Thursday April 05, 2012 @12:55PM (#3803439)
The "google" variable is often not loaded for people who use Adblock or similar extensions that block social media plugins. You can simply check that "google" exists before running the code that depends on it:

    if (typeof google !== "undefined") {
        // run google code here
        google.magic();
    }
Re:You should be using Google Analytics to log your startup'... by dmethvin on Thursday April 05, 2012 @06:01PM (#3804864)
I understand deadlines, and yes you may not be able to do more than explain to the user that there is a problem out of your control. But don't diss Airbrake because you don't have time to investigate and/or fix. They're not sayin' you have to fix it, they're just sayin'.
Re:You should be using Google Analytics to log your startup'... by jreposa on Thursday April 05, 2012 @06:04PM (#3804881)
Just to clarify... I love Airbrake. Apologies if it didn't come across as that way. I use it on every site and app we create.