Merge remote-tracking branch 'origin/master'

This commit is contained in:
Liuyang 2025-02-12 15:08:15 +08:00
commit 739ae3ea7d

View File

@ -75,6 +75,7 @@ public class AsyncKnowledgeBase {
log.error("the creation of the knowledge base error {}", e.getMessage());
// 修改状态为 上传失败
updateFileState(knowledge, KnowledgeStatusEnum.UPLOAD_FAILED);
throw exception(new ErrorCode(10047, "文件上传到知识库失败!"));
}
});