[Fix] trivial fix log creation (#14181)

### What problem does this PR solve?

Trivial fix log creation, follow on PR:
https://github.com/infiniflow/ragflow/pull/14136

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Wang Qi
2026-04-17 13:13:41 +08:00
committed by GitHub
parent 797aa6076a
commit 28d8b1c883

View File

@@ -105,8 +105,6 @@ class PipelineOperationLogService(CommonService):
logging.warning(f"Document for referred_document_id {referred_document_id} not found")
return None
DocumentService.update_progress_immediately([document.to_dict()])
if document.progress not in [1, -1]:
return None
ok, document = DocumentService.get_by_id(referred_document_id)
if not ok: