cjohansen/Sinon.JS — pull request #63 by keturn (2011-12-03 01:38:23+00:00)
Title: sinon.test: use try/finally instead of catch and throw.

Catch-and-throw obscures where the exception originated. Before, chrome's inspector only was able to tell me there was being an exception being caught and thrown here, but not where it originated in the code under test.

This way the debugger is able to show me the traceback starting where the error actually occurred in my code, instead of sinon.test being the lowest stack frame.