class Dependabot::Clients::BitbucketWithRetries

def retry_connection_failures(&_blk)

def retry_connection_failures(&_blk)
  retry_attempt = 0
  begin
    yield
  rescue *RETRYABLE_ERRORS
    retry_attempt += 1
    retry_attempt <= @max_retries ? retry : raise
  end
end