Skip to content

Commit

Permalink
Merge pull request #130 from chef/ssd/rescue-epipe
Browse files Browse the repository at this point in the history
Rescue EPIPE on connect in ssh transport
  • Loading branch information
chris-rock authored Aug 17, 2016
2 parents e1da796 + 5fe5151 commit f783018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/train/transports/ssh_connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def uri

RESCUE_EXCEPTIONS_ON_ESTABLISH = [
Errno::EACCES, Errno::EADDRINUSE, Errno::ECONNREFUSED, Errno::ETIMEDOUT,
Errno::ECONNRESET, Errno::ENETUNREACH, Errno::EHOSTUNREACH,
Errno::ECONNRESET, Errno::ENETUNREACH, Errno::EHOSTUNREACH, Errno::EPIPE,
Net::SSH::Disconnect, Net::SSH::AuthenticationFailed, Net::SSH::ConnectionTimeout,
Timeout::Error
].freeze
Expand Down

0 comments on commit f783018

Please sign in to comment.