adminpass/aliyundrive-subscribe

能否增加容错机制,比如允许报错三次?经常因网络原因偶发报错导致订阅被自动关闭,且自定义通知可能因内容有换行无法正确发送

jixiangqd opened this issue · 1 comments

2023/12/05 04:38:38 订阅检查失败[4]->完美世界, https://www.aliyundrive.com/s/qrTRu1iEHfF/folder/643d43b542ab0391bbbf42ebaecfb175f320f1ea, http.DefaultClient.Do error: Post "https://api.aliyundrive.com/v2/share_link/get_share_token": dial tcp [2408:400a:f10::1f1]:443: connect: cannot assign requested address stdout
20:38:38 2023/12/05 04:38:38 发送[自定义通知]测试数据:{ stdout

20:38:38 "appToken":"AT_xxxxxxxxxxxxxxxxxxxxxxxxxx", stdout

20:38:38 "content":"完美世界\n() x | 订阅检查失败: https://www.aliyundrive.com/s/qrTRu1iEHfF/folder/643d43b542ab0391bbbf42ebaecfb175f320f1ea stdout
20:38:38 http.DefaultClient.Do error: Post "https://api.aliyundrive.com/v2/share_link/get_share_token": dial tcp [2408:400a:f10::1f1]:443: connect: cannot assign requested address", stdout

20:38:38 "summary":"()x | 订阅检查失败: https://www.aliyundrive.com/s/qrTRu1iEHfF/folder/643d43b542ab0391bbbf42ebaecfb175f320f1ea stdout
20:38:38 http.DefaultClient.Do error: Post "https://api.aliyundrive.com/v2/share_link/get_share_token": dial tcp [2408:400a:f10::1f1]:443: connect: cannot assign requested address", stdout

20:38:38 "contentType":1, stdout

20:38:38 "uids":[ stdout

20:38:38 "UID_jmxxxxxxxxxxxxxxxxxxxxxxx" stdout

20:38:38 ], stdout

20:38:38 "verifyPay":false,"topicIds":[23907] stdout

20:38:38 } stdout
20:38:38

订阅检查失败我觉得应该给个提示,而不是直接订阅状态给关闭。
直接关闭就不会检查了,不关闭检查失败就失败,也没什么事。