Merge pull request #10273 from demarches-simplifiees/discard_champ_fetch_job_on_not_found
Tech: supprime les fetch_external_data_job lorsque le champ correspond n'existe plus
This commit is contained in:
commit
6855213435
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
class ChampFetchExternalDataJob < ApplicationJob
|
||||
discard_on ActiveJob::DeserializationError
|
||||
|
||||
include Dry::Monads[:result]
|
||||
|
||||
def perform(champ, external_id)
|
||||
|
|
Loading…
Reference in a new issue