facebook/nifty — pull request #77 by andrewcox (2013-08-20 23:50:23+00:00)
Title: Catch more exceptions in async client code

Some experimenting with the load generator and also a bug report from Martin indicated that there were cases where exceptions were getting thrown in async client handlers that were not caught, and could prevent us from ever firing either the success or failure callbacks for a client call. This diff tries to catch all of those cases, to guarantee we'll fire one of the callbacks.