pika/pika — Issue #125: Exceptions in _check_state_on_disconnect using TornadoConnection
Author: bergundy
Created: 2012-02-16 18:17:34+00:00
State: open

I'd like to have a way to intercept the exceptions raised in _check_state_on_disconnect.
Currently, if an exception is raised from that function, you'll never get a callback indicating failure.

I dealt with it by creating the connection inside a tornado.stack_context.StackContext().

Would you consider adding something like that to TornadoConnection?