Skip to content

Commit

Permalink
Rescue OpenSSL errors in Client#transaction
Browse files Browse the repository at this point in the history
This feels like a similar category of socket/network-related errors that could be handled in a similar fashion.
  • Loading branch information
ibrahima authored Feb 9, 2024
1 parent 8785405 commit f73bb84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/faktory/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def transaction

begin
yield
rescue SystemCallError, SocketError, TimeoutError
rescue SystemCallError, SocketError, TimeoutError, OpenSSL::SSL::SSLError
if retryable
retryable = false

Expand Down

0 comments on commit f73bb84

Please sign in to comment.