twitter/gizzmo — pull request #38 by stuhood (2012-05-13 02:04:38+00:00)
Title: Connection reuse fixes

Connections were being properly torn down, but our error messages did not indicate which hosts were failing.
* Clean up the teardown code a bit
* Declare exceptions for log_* methods, although the server isn't declaring them yet
* Push down thrift error logging to make it easier to log hostnames for exceptions