Method: IncomeAndAssets::Submissions::Monitor#track_file_cleanup_error

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

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

log Sidkiq job cleanup error occurred, this can occur post success or failure

Parameters:

See Also:

  • IncomeAndAssetsIntakeJob


116
117
118
119
120
121
122
123
124
125
# File 'lib/income_and_assets/submissions/monitor.rb', line 116

def track_file_cleanup_error(claim, lighthouse_service, , e)
  Rails.logger.error('Lighthouse::IncomeAndAssetsIntakeJob cleanup failed',
                     {
                       error: e&.message,
                       claim_id: claim&.id,
                       benefits_intake_uuid: lighthouse_service&.uuid,
                       confirmation_number: claim&.confirmation_number,
                       user_account_uuid:
                     })
end