app/workers/evss/disability_compensation_form/job_status.rb
def job_try
        upsert_job_status(Form526JobStatus::STATUS[:try])
        log_info('try')
        metrics.increment_try
      rescue => e
        Rails.logger.error('error tracking job try', error: e, class: klass)
      end
# Metrics and logging for each Sidekiq try
#
Metrics and logging for each Sidekiq try
Metrics and logging for each Sidekiq try
def job_try
        upsert_job_status(Form526JobStatus::STATUS[:try])
        log_info('try')
        metrics.increment_try
      rescue => e
        Rails.logger.error('error tracking job try', error: e, class: klass)
      end
def job_try upsert_job_status ( Form526JobStatus :: STATUS [ :try ] ) log_info ( 'try' ) metrics . increment_try rescue => e Rails . logger . error ( 'error tracking job try' , error : e , class : klass ) end
Metrics and logging for each Sidekiq try
Metrics and logging for each Sidekiq try