lib/sous_vide/event_methods.rb
# Called when a resource fails, but will retry.
#
# Resources with retries can succeed on subsequent attempts or ignore_failure option may be
# set and it's the only place we can capture intermittent errors.
#
# This event can fire multiple times, but we capture only the most recent error.
Called when a resource fails, but will retry.
Resources with retries can succeed on subsequent attempts or ignore_failure option may be
set and it's the only place we can capture intermittent errors.

This event can fire multiple times, but we capture only the most recent error.
Called when a resource fails but will retry . Resources with retries can succeed on subsequent attempts or ignore_failure option may be set and it ' s the only place we can capture intermittent errors . This event can fire multiple times but we capture only the most recent error .
def resource_failed_retriable(new_resource, _action, _remaining_retries, exception)
      return false if @processing_now.nil? || nested?(new_resource) 
      debug("Received :resource_failed_retriable on #{@processing_now}")
      @processing_now.retries += 1
      @processing_now.error_source = new_resource.to_text
      @processing_now.error_output = exception.message
      true
    end
def resource_failed_retriable ( new_resource , _action , _remaining_retries , exception ) return false if @processing_now . nil? || nested? ( new_resource ) debug ( "Received :resource_failed_retriable on #{@processing_now}" ) @processing_now . retries += 1 @processing_now . error_source = new_resource . to_text @processing_now . error_output = exception . message true end
Called when a resource fails, but will retry.
Called when a resource fails but will retry .
# ignore nested resources
new_resource
<not_specific>
_action
<not_specific>
_remaining_retries
<not_specific>
exception
<not_specific>