904118851 8 months ago
parent
commit
7cef9a57a3
1 changed files with 3 additions and 1 deletions
  1. 3 1
      PULL_DATA_FACTORY/PULL_DATA.js

+ 3 - 1
PULL_DATA_FACTORY/PULL_DATA.js

@@ -265,7 +265,9 @@ async function processTask(){
             throw response
         }
         // console.log("get_novel_material_list:",response)
-        let detail_item =  await process_material_list(response,cur_page,cur_timeRange)
+        let detail_item =  await process_material_list(response,cur_page,cur_timeRange).catch(err=>{
+            console.error('process_material_list 执行错误:', err);
+        })
         // { page: 1, offset: 0, limit: 500 },
         // task_params = helper.getPaginationParams(detail_item.count,500)
         // task_params.shift()