Skip to content

Commit

Permalink
remove duplicated error raise
Browse files Browse the repository at this point in the history
  • Loading branch information
mensfeld committed Jun 6, 2024
1 parent 1fb3864 commit e6acf4d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/waterdrop/producer/transactions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,6 @@ def with_transactional_error_handling(action, allow_abortable: true)
with_transactional_error_handling(:abort, allow_abortable: false) do
transactional_instrument(:aborted) { client.abort_transaction }
end

raise
end

raise
Expand Down

0 comments on commit e6acf4d

Please sign in to comment.