Skip to content

Commit cf22856

Browse files
author
Phil Varner
committed
for bulk operations, don't raise an exception if any of the ingested items fails
1 parent 3be5e1d commit cf22856

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/database_logic.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ async def bulk_async(
497497
self.sync_client,
498498
mk_actions(collection_id, processed_items),
499499
refresh=refresh,
500+
raise_on_error=False,
500501
),
501502
)
502503

@@ -508,6 +509,7 @@ def bulk_sync(
508509
self.sync_client,
509510
mk_actions(collection_id, processed_items),
510511
refresh=refresh,
512+
raise_on_error=False,
511513
)
512514

513515
# DANGER

0 commit comments

Comments
 (0)