NancyFx/Nancy — pull request #1460 by damianh (2014-02-18 11:52:09+00:00)
Title: Catch exceptions thrown by status code handlers

Fixes #1458

When thrown in an ascync handler (must be on worker thread), not catching these exceptions (such as one thrown by the PassthroughStatusCodeHandler) results in the request hanging.

This PR catches these exceptions and flattens it in NancyEngineExtensions.