News for hackers. Stuff that matters.
Re:JavaScript Error Logging in Minutes by gooderlooking on Tuesday March 05, 2013 @01:55PM (#5326518)
For anyone who plans to set this up on a site that gets moderate traffic, here's an example Raven config that helps weed out exceptions caused by 3rd party scripts and browser extensions:

https://gist.github.com/impressiver/5092952

I initially set up Raven without this ignore list, and we drowned in exceptions caused by shoddy browser plugins and userscripts. On the flipside, sifting through those logs did help to explain a few unreproducible support tickets.

Hope someone finds this of use!

Re:JavaScript Error Logging in Minutes by tosh on Wednesday March 06, 2013 @01:52AM (#5329770)
Thanks a lot for sharing :)
Re:JavaScript Error Logging in Minutes by joshuacc on Tuesday March 05, 2013 @12:16PM (#5325762)
Does anyone happen to know if there is an open-source equivalent to this type of service? Obviously, saving the errors isn't that difficult, but reporting it back in a decently browseable interface requires a bit more effort. :-)

If nobody knows of anything, I might try building my own.

Re:JavaScript Error Logging in Minutes by nik-graf on Tuesday March 05, 2013 @12:35PM (#5325926)
Here you can find the open sourced JavaScript lib https://github.com/getsentry/raven-js
Re:JavaScript Error Logging in Minutes by joshuacc on Tuesday March 05, 2013 @01:55PM (#5326521)
That is very helpful. Thanks!
Re:JavaScript Error Logging in Minutes by Makkhdyn on Tuesday March 05, 2013 @12:31PM (#5325891)
Re:JavaScript Error Logging in Minutes by joshuacc on Tuesday March 05, 2013 @01:50PM (#5326486)
Thanks for pointing this out. I missed that item on the home page. :-)
Re:JavaScript Error Logging in Minutes by tosh on Tuesday March 05, 2013 @11:16AM (#5325317)
Anyone knows whether the error handling API already is consistent between browsers?
Re:JavaScript Error Logging in Minutes by bentlegen on Tuesday March 05, 2013 @11:21AM (#5325339)
I believe Sentry's JS error reporting uses TraceKit: https://github.com/occ/TraceKit
Re:JavaScript Error Logging in Minutes by MartinMond on Tuesday March 05, 2013 @11:30AM (#5325404)
TraceKit is pretty great, we're using it in a client project. Though it did not work in the Android WebView for me.
Re:JavaScript Error Logging in Minutes by tosh on Tuesday March 05, 2013 @11:27AM (#5325379)
Thanks for the pointer, last time I looked it was still a pain to normalize across different browsers :)
Re:JavaScript Error Logging in Minutes by nik-graf on Tuesday March 05, 2013 @12:14PM (#5325742)
Yes it does as far as I know. Really an awesome lib.