Skip to content

Commit

Permalink
Return errors on uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
vanatteveldt committed Oct 20, 2024
1 parent 85290ab commit 8b63623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amcat4/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def es_actions(index, documents, op_type):
successes, failures = elasticsearch.helpers.bulk(
es(),
actions,
stats_only=True,
stats_only=False,
raise_on_error=raise_on_error,
)
except elasticsearch.helpers.BulkIndexError as e:
Expand Down

0 comments on commit 8b63623

Please sign in to comment.