Commit 3d1c34ae authored by Damien DESPRES's avatar Damien DESPRES
Browse files

gestion des erreurs sur election des types

parent 37e453cf
Pipeline #21374 passed with stage
in 23 seconds
......@@ -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
# ---------------------------------------------------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment