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

Commit

Permalink
raise, rather than raise ex on thrift transport error
Browse files Browse the repository at this point in the history
Preserves original backtrace.
  • Loading branch information
fredemmott committed Aug 15, 2011
1 parent 3bd852a commit cd3e35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rb/jp/server/handler.rb
Expand Up @@ -84,7 +84,7 @@ def rescue_connection_failure
success = true
rescue Mongo::ConnectionFailure => ex
retries += 1
raise ex if retries >= @retry_attempts
raise if retries >= @retry_attempts
sleep(@retry_delay)
end
end
Expand Down

0 comments on commit cd3e35c

Please sign in to comment.