Skip to content
Snippets Groups Projects
Commit 3d1c34ae authored by Damien DESPRES's avatar Damien DESPRES
Browse files

gestion des erreurs sur election des types

parent 37e453cf
Branches migration_es7
Tags
1 merge request!23merge dev into master
Pipeline #21374 passed with warnings
......@@ -321,7 +321,8 @@ def callback( channel, method, properties, body ):
else:
logging.warning("No information about the needed fields and types found (%s) in the field catalog: generating a new catalog...", lookup_key)
field_type_detector(cfg)
channel.basic_nack(delivery_tag = method.delivery_tag, requeue=1)
logging.error("ERREUR ELECTION DES TYPES POUR:%s",out_record['metadata-fr']['geonet:info']['uuid'])
channel.basic_nack(delivery_tag = method.delivery_tag, requeue=0)
return
# ---------------------------------------------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment