Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

Commit

Permalink
Output SSH error class and message in rescue
Browse files Browse the repository at this point in the history
  • Loading branch information
justincampbell committed Nov 27, 2012
1 parent 5f4f7b9 commit 57a6bd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ridley/ssh/worker.rb
Expand Up @@ -67,6 +67,7 @@ def run(host, command)
end
rescue => e
debug "Failed to run SSH command: '#{command}' on: '#{host}' as: '#{user}'"
debug "#{e.class}: #{e.message}"
[ :error, e ]
end

Expand Down

0 comments on commit 57a6bd2

Please sign in to comment.