occ/TraceKit — pull request #54 by knguyen142 (2013-11-06 19:45:21+00:00)
Title: Removed default option checks and added global handling flag.

The default option checks are unnecessary and it is arguable if it is even an optimization, but does add more lines of code and complexity.

Also, there should be a global handling flag as sometimes we do not want exceptions to be reported from the event handler. For example, certain exception reporting functions may assume there is an options parameter passed in which the global handler doesn't provide. Also, I may not have looked at it thoroughly enough, but it seems like exceptions that are reported with TraceKit.report(e) are re-thrown to the global handler resulting in a duplicate error logging?