fix(PopulateRnaJsonValue): some procedure had been deleted, can not find them
This commit is contained in:
parent
22e50d4c9e
commit
53cbb1cace
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ module Maintenance
|
||||||
return if data.blank?
|
return if data.blank?
|
||||||
champ.update(value_json: APIGeoService.parse_rna_address(data['adresse']))
|
champ.update(value_json: APIGeoService.parse_rna_address(data['adresse']))
|
||||||
rescue URI::InvalidURIError
|
rescue URI::InvalidURIError
|
||||||
# some data raise this error
|
# some Champs::RNAChamp contain spaces which raise this error
|
||||||
|
rescue ActiveRecord::RecordNotFound
|
||||||
|
# some Champs::RNAChamp procedure had been soft deleted
|
||||||
end
|
end
|
||||||
|
|
||||||
def count
|
def count
|
||||||
|
|
Loading…
Reference in a new issue