Commit 96390587 authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA
Browse files

fix logs doc_indexer failing + force python 3.9

parent 00cbcfbe
Pipeline #21936 passed with stage
in 21 seconds
FROM python:3-slim
FROM python:3.9-slim
WORKDIR /app
......
......@@ -161,7 +161,7 @@ def index_docs(channel, method, properties, body):
#logging.error(json.dumps(rep, indent=4))
try:
logging.error(json.dumps([
item.get("error", {}).get("reason")
item.get("index", {}).get("error", {}).get("reason")
for item in rep.get("items", [])
],
indent=4))
......
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