app/workers/evss/disability_compensation_form/job_status.rb
def non_retryable_error_handler(error)
        upsert_job_status(Form526JobStatus::STATUS[:non_retryable_error], error)
        log_exception_to_sentry(error, status: :non_retryable_error, jid: jid)
        log_error('non_retryable_error', error)
        metrics.increment_non_retryable(error, @is_bdd)
      end
# Metrics and logging for any non-retryable errors that occurred.
# Non-retryable errors will always fail, e.g. an ArgumentError in the job class
#
Metrics and logging for any non-retryable errors that occurred.
Non-retryable errors will always fail, e.g. an ArgumentError in the job class
Metrics and logging for any non - retryable errors that occurred . Non - retryable errors will always fail e . g . an ArgumentError in the job class
def non_retryable_error_handler(error)
        upsert_job_status(Form526JobStatus::STATUS[:non_retryable_error], error)
        log_exception_to_sentry(error, status: :non_retryable_error, jid: jid)
        log_error('non_retryable_error', error)
        metrics.increment_non_retryable(error, @is_bdd)
      end
def non_retryable_error_handler ( error ) upsert_job_status ( Form526JobStatus :: STATUS [ :non_retryable_error ] , error ) log_exception_to_sentry ( error , status : :non_retryable_error , jid : jid ) log_error ( 'non_retryable_error' , error ) metrics . increment_non_retryable ( error , @is_bdd ) end
Metrics and logging for any non-retryable errors that occurred.
Metrics and logging for any non - retryable errors that occurred .
error