app/workers/evss/disability_compensation_form/job_status.rb
# Metrics and logging for when the job succeeds
#
Metrics and logging for when the job succeeds
Metrics and logging for when the job succeeds
def job_success
        upsert_job_status(Form526JobStatus::STATUS[:success])
        log_info('success')
        metrics.increment_success(@is_bdd)
      rescue => e
        Rails.logger.error('error tracking job success', error: e, class: klass)
      end
def job_success upsert_job_status ( Form526JobStatus :: STATUS [ :success ] ) log_info ( 'success' ) metrics . increment_success ( @is_bdd ) rescue => e Rails . logger . error ( 'error tracking job success' , error : e , class : klass ) end
Metrics and logging for when the job succeeds
Metrics and logging for when the job succeeds