trevnorris/node — pull request #1 by jacobgroundwater (2013-10-23 21:50:59+00:00)
Title: test: fix error in test

The error handler should not be called when an error is thrown *within* the error handler.

I realize we're talking about changing this behavior now, but previously we were not calling the error handler *if* there was a throw inside another error handler.

This test fix asserts the old behavior, and it passes. When we're sure about changing the behavior I'm all for changing the test.