Andy McKay

Jun 09, 2010

Arecibo catching Javascript errors

Thanks to a push from Chris Adams, the Javascript library in the trunk now catches JavaScript errors.

So if you have some JavaScript that throws an error, for example:

            function foo() {
                alert("About to fail!");

In this case there is no "bar()" defined. This will be caught and passed to Arecibo, so that you have a track of the error and the browser.

Unfortunately at the moment this only works in Firefox and Chrome. Thanks Chris!.