修复知识库上传报错
This commit is contained in:
parent
71dab5dd28
commit
e5ee402e7d
@ -76,6 +76,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, "文件上传到知识库失败!"));
|
||||
}
|
||||
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user