Browse Source

fix:文件分段失败记录日志

zhongwei
luyie 1 month ago
parent
commit
959ec9a347
  1. 1
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/service/impl/KnowledgeFileInfoServiceImpl.java

1
hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/service/impl/KnowledgeFileInfoServiceImpl.java

@ -76,6 +76,7 @@ public class KnowledgeFileInfoServiceImpl extends ServiceImpl<KnowledgeFileInfoM
.body(getParamsJson(knowledgeFileInfo, tenantId, createUser, createDept), "application/json")
.execute();
if (!response.isOk()) {
log.error("文件分段失败,原因:{}", response.body());
return false;
}
return Boolean.TRUE;

Loading…
Cancel
Save