瀏覽代碼

修改分发的报错

lrf402788946 3 年之前
父節點
當前提交
ae5758830d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/patent/patentwarning.js

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

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