From 544b5daf8f2292210a825b5cdb993324791aaebf Mon Sep 17 00:00:00 2001 From: Nivedha Date: Mon, 26 Feb 2024 16:40:32 +0530 Subject: [PATCH] chore: add return to not raise always --- spanner/spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spanner/spec/spec_helper.rb b/spanner/spec/spec_helper.rb index 119ba3029..00927f624 100644 --- a/spanner/spec/spec_helper.rb +++ b/spanner/spec/spec_helper.rb @@ -258,7 +258,7 @@ def with_retry retries: 5 multiplier: 2, tries: [retries, max_retries].min ) do - yield + return yield end raise end