andrewbredow/Library-Detector-for-Chrome — pull request #63 by pkaminski (2014-11-18 04:27:36+00:00)
Title: Catch errors from broken tests

Currently, a broken test will throw a top-level exception, which is not a nice thing for an extension to do to a host page. With this change any test exceptions will be caught and reported to the console instead.

The fix is prompted by Library Detector's broken Velocity.js detector currently crashing my site https://reviewable.io, which purposely halts the app if a top-level exception (presumed to be from the app) is detected.