Skip to content
Snippets Groups Projects
Commit 9599b481 authored by Alessandro Cerioni's avatar Alessandro Cerioni
Browse files

Increased the verbosity of the indexer in case of failure.

parent 99e9b476
Branches
Tags
No related merge requests found
......@@ -138,7 +138,8 @@ def index_docs(channel, method, properties, body, es):
else:
channel.basic_nack(delivery_tag = method.delivery_tag, requeue=1)
#print("")
logging.info("Failed")
logging.error(json.dumps(rep, indent=4))
logging.error("Failed")
#time.sleep(5)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment