pika/pika — pull request #96 by mcfletch (2011-10-18 18:27:08+00:00)
Title: on_connect_attempt_failure is not called on ReconnectionStrategies

The entry point for reconnection strategies is not called by the connection currently. Patch catches errors on _connect() and passes the connection *and* the error to the reconnection strategy (on the assumption that reconnection strategies will often want to log the error and/or report it out-of-band). Extends the on_connect_attempt_failure API accordingly.