Method: IncomeAndAssets::Submissions::Monitor#track_submission_retry

Defined in:
lib/income_and_assets/submissions/monitor.rb

#track_submission_retry(claim, lighthouse_service, user_account_uuid, e) ⇒ Object

log Sidkiq job failed, automatic retry

Parameters:

See Also:

  • IncomeAndAssetsIntakeJob


79
80
81
82
83
84
85
86
87
88
# File 'lib/income_and_assets/submissions/monitor.rb', line 79

def track_submission_retry(claim, lighthouse_service, , e)
  StatsD.increment("#{SUBMISSION_STATS_KEY}.failure")
  Rails.logger.warn('Lighthouse::IncomeAndAssetsIntakeJob submission to LH failed, retrying', {
                      claim_id: claim&.id,
                      benefits_intake_uuid: lighthouse_service&.uuid,
                      confirmation_number: claim&.confirmation_number,
                      user_account_uuid:,
                      message: e&.message
                    })
end