fix(PopulateRNAJSONValueTask): edge case, one champ raises an URI::InvalidURIError
This commit is contained in:
parent
8cdd7ef4df
commit
0ed5206d9f
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ module Maintenance
|
|||
data = APIEntreprise::RNAAdapter.new(champ.value, champ&.dossier&.procedure&.id).to_params
|
||||
return if data.blank?
|
||||
champ.update(value_json: APIGeoService.parse_rna_address(data['adresse']))
|
||||
rescue URI::InvalidURIError
|
||||
# some data raise this error
|
||||
end
|
||||
|
||||
def count
|
||||
|
|
Loading…
Reference in a new issue