Skip to content

Instantly share code, notes, and snippets.

@oleander
Created September 11, 2013 13:30
Show Gist options
  • Save oleander/a6c2e742b4398e37e303 to your computer and use it in GitHub Desktop.
Save oleander/a6c2e742b4398e37e303 to your computer and use it in GitHub Desktop.
def perform
# ...
rescue RestClient::RequestTimeout
raise InternalTimeout.new # pass $! in some way
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment