Browse Source

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

zhongwei
luyie 2 months 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") .body(getParamsJson(knowledgeFileInfo, tenantId, createUser, createDept), "application/json")
.execute(); .execute();
if (!response.isOk()) { if (!response.isOk()) {
log.error("文件分段失败,原因:{}", response.body());
return false; return false;
} }
return Boolean.TRUE; return Boolean.TRUE;

Loading…
Cancel
Save