-
-
Save ujjain/3813f80c03de8cae0fdc0704a9e25d6c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Is this proper indentation? | |
begin | |
timeout(config['deploy-timeout'].to_i) do | |
execute_and_log command | |
end | |
rescue Exception => e | |
log.info 'Err, timeout, ouch' | |
raise Timeout::Error | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment