Skip to content

Commit

Permalink
chore: add return to not raise always
Browse files Browse the repository at this point in the history
  • Loading branch information
NivedhaSenthil committed Feb 26, 2024
1 parent f799b00 commit 544b5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spanner/spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def with_retry retries: 5
multiplier: 2,
tries: [retries, max_retries].min
) do
yield
return yield
end
raise
end
Expand Down

0 comments on commit 544b5da

Please sign in to comment.