Commit a23f47f7 authored by Damien DESPRES's avatar Damien DESPRES
Browse files

add logs

parent 5c3faf3e
Pipeline #18655 passed with stages
in 18 seconds
......@@ -158,6 +158,7 @@ def index_docs(channel, method, properties, body):
else:
channel.basic_nack(delivery_tag = method.delivery_tag, requeue=1)
#print("")
logging.error(es_body)
logging.error(json.dumps(rep, indent=4))
raise Exception('Failed to push documents to Elasticsearch.')
......
Markdown is supported
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