Skip to content

Commit

Permalink
Merge pull request #1471 from laws-africa/ingestor-delete
Browse files Browse the repository at this point in the history
Fix ingestor delete method
  • Loading branch information
actlikewill authored Aug 24, 2023
2 parents 41b3886 + 55c9cf7 commit ba3b96f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions peachjam/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def delete_document(ingestor_id, expression_frbr_uri):

if not ingestor:
log.info(f"No ingestor with id {ingestor_id} ")
return
if ingestor.enabled:
log.info(f"Deleting document {expression_frbr_uri} with ingestor {ingestor}")

Expand Down

0 comments on commit ba3b96f

Please sign in to comment.