mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
chore:
This commit is contained in:
@@ -173,6 +173,9 @@ export class SiteInfoService extends BaseService<SiteInfoEntity> {
|
||||
let errorCount = 0
|
||||
let errorMessage = ""
|
||||
for (const item of list) {
|
||||
if (!item) {
|
||||
continue;
|
||||
}
|
||||
errorCount++
|
||||
if(item.error){
|
||||
errorMessage += `${item.ipAddress}:${item.error}; \n`
|
||||
|
||||
@@ -180,7 +180,7 @@ export class SiteIpService extends BaseService<SiteIpEntity> {
|
||||
}
|
||||
Promise.all(promiseList).then((res)=>{
|
||||
const finished = res.filter(item=>{
|
||||
return item
|
||||
return item!=null
|
||||
})
|
||||
if (finished.length > 0) {
|
||||
onFinish && onFinish(finished)
|
||||
|
||||
Reference in New Issue
Block a user