Skip to content

Commit 47e52bc

Browse files
committed
Fix logger
1 parent 50d6796 commit 47e52bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/optimizely/cmab/cmab_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def _do_fetch_with_retry(url, request_body, retry_config, timeout)
158158
rescue => e
159159
last_error = e
160160
if attempt < retry_config.max_retries
161-
@logger.log(Logger::INFO, "Retrying CMAB request (attempt: #{attempt + 1} after #{backoff} seconds)...")
161+
@logger.log(Logger::INFO, "Retrying CMAB request (attempt #{attempt + 1} after #{backoff} seconds)...")
162162
sleep(backoff)
163163
backoff = [backoff * (retry_config.backoff_multiplier**(attempt + 1)), retry_config.max_backoff].min
164164
end

0 commit comments

Comments
 (0)