Browse Source

修改分发的报错

lrf402788946 3 years ago
parent
commit
ae5758830d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/patent/patentwarning.js

+ 1 - 1
app/service/patent/patentwarning.js

@@ -81,7 +81,7 @@ class PatentwarningService extends CrudService {
         try {
         try {
           xmlData = await this.dealXml(xmlPath);
           xmlData = await this.dealXml(xmlPath);
         } catch (error) {
         } catch (error) {
-          errorList.push({ key: patentNumber, word: '解析xml数据中的 申请号 和 专利名称 失败' });
+          errorList.push({ key: patentNumber, word: `解析xml数据中的 申请号 和 专利名称 失败 于:${xmlPath}` });
           continue;
           continue;
         // throw new BusinessError(ErrorCode.SERVICE_FAULT, '解析申请号失败');
         // throw new BusinessError(ErrorCode.SERVICE_FAULT, '解析申请号失败');
         }
         }