[Twisted-Python] How-to raise errors with sshclient conch example in Twisted book
asset at impactdamage.com
Thu May 29 23:40:32 EDT 2008
Im new to Twisted and am trying to learn as quickly as I can. I apologize if this question is a waste of anybody's time.
When working the with sshclient.py example (from the Twisted book, and the link above) I find the reactor hangs and does not raise an exception on connection failures or failed authentication.
Ive been trying to work out how to catch these situations and shut down the reactor; or cleanup for another attempt, yet I cant seem to wrap my head around it.
I imagine this is trivial and Im totally missing it.
Any help would be greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python