Method: IncomeAndAssets::Submissions::Monitor#track_submission_attempted

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

#track_submission_attempted(claim, lighthouse_service, user_account_uuid, payload) ⇒ Object

log Sidkiq job Lighthouse submission attempted

Parameters:

See Also:

  • IncomeAndAssetsIntakeJob


40
41
42
43
44
45
46
47
48
49
50
# File 'lib/income_and_assets/submissions/monitor.rb', line 40

def track_submission_attempted(claim, lighthouse_service, , payload)
  StatsD.increment("#{SUBMISSION_STATS_KEY}.attempt")
  Rails.logger.info('Lighthouse::IncomeAndAssetsIntakeJob submission to LH attempted', {
                      claim_id: claim&.id,
                      benefits_intake_uuid: lighthouse_service&.uuid,
                      confirmation_number: claim&.confirmation_number,
                      user_account_uuid:,
                      file: payload[:file],
                      attachments: payload[:attachments]
                    })
end