delano / rye

Safe, parallel access to Unix shells from Ruby
http://delano.github.com/rye
MIT License
234 stars 32 forks source link

Propagate original Net::SSH::AuthenticationFailed exception #40

Closed mzahir closed 10 years ago

mzahir commented 10 years ago

Currently the AuthenticationFailed exception does not contain the details (host, port, etc.) since the original exception is not propagated. This fix re-raises the same exception where applicable, instead of creating a new blank one.

delano commented 10 years ago

Thanks.