Skip to content
Snippets Groups Projects
Commit c76981d14898 authored by Adrien Di Mascio's avatar Adrien Di Mascio
Browse files

[hooks] make sure we keep of any exception when trying to index

parent 752500a2dd66
No related branches found
No related tags found
No related merge requests found
......@@ -110,3 +110,6 @@
es.index(**kwargs)
except (ConnectionError, ProtocolError):
log.warning('Failed to index in hook, could not connect to ES')
except Exception as exc:
log.exception('Failed to index in hook')
raise
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment