From ac695a2151a08626d61997e0ec75b965548b4dfa Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Fri, 5 Apr 2024 10:42:44 +0200 Subject: [PATCH] fix: discard DeserializationError on fetch external data job --- app/jobs/champ_fetch_external_data_job.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/jobs/champ_fetch_external_data_job.rb b/app/jobs/champ_fetch_external_data_job.rb index 4e11bd96a..648150d9d 100644 --- a/app/jobs/champ_fetch_external_data_job.rb +++ b/app/jobs/champ_fetch_external_data_job.rb @@ -1,4 +1,6 @@ class ChampFetchExternalDataJob < ApplicationJob + discard_on ActiveJob::DeserializationError + include Dry::Monads[:result] def perform(champ, external_id)