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

add logs

parent 5c3faf3e
Branches
Tags
1 merge request!23merge dev into master
Pipeline #18655 passed
......@@ -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.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment