class Bundler::Retry

def fail_attempt(e)

def fail_attempt(e)
  @failed = true
  if last_attempt? || @exceptions.any? {|k| e.is_a?(k) }
    Bundler.ui.info "" unless Bundler.ui.debug?
    raise e
  end
  return true unless name
  Bundler.ui.info "" unless Bundler.ui.debug? # Add new line in case dots preceded this
  Bundler.ui.warn "Retrying #{name} due to error (#{current_run.next}/#{total_runs}): #{e.class} #{e.message}", true
end