imtsuki / bupt-ncov-report-action

🦠 Automatically submit BUPT COVID-19 statistics through GitHub Actions / 使用 GitHub Actions 自动填报北邮 COVID-19 疫情信息
MIT License
238 stars 254 forks source link

拉取更新后还是json异常 #57

Closed T-Atlas closed 2 years ago

T-Atlas commented 2 years ago
用户登录中
(node:1676) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
Sleep for 2350ms...
正在获取前一天的疫情填报信息
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at getDailyReportFormData (file:///home/runner/work/bupt-ncov-report-action/bupt-ncov-report-action/src/index.ts:72:43)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async file:///home/runner/work/bupt-ncov-report-action/bupt-ncov-report-action/src/index.ts:146:[22](https://github.com/T-Atlas/bupt-ncov-report-action/runs/6462619786?check_suite_focus=true#step:6:22)
RinChanNOWWW commented 2 years ago

这个问题应该已经在 https://github.com/imtsuki/bupt-ncov-report-action/pull/54 解决了,我这里可以正常使用。cc @name1e5s

T-Atlas commented 2 years ago

我这这两天也重新填报过了,貌似还是异常

T-Atlas commented 2 years ago

今天正常了