fix: 修复google证书*.xx.com与xx.com同时申请时报错的bug

pull/229/head
xiaojunnuo 2024-10-22 11:23:59 +08:00
parent ffeede38af
commit f8b99b81a2
1 changed files with 25 additions and 22 deletions

View File

@ -233,6 +233,7 @@ module.exports = async (client, userOpts) => {
return Promise.all(results);
}
try {
log(`开始challenge${allChallengePromises.length}`);
let i = 0;
// eslint-disable-next-line no-restricted-syntax
@ -251,6 +252,8 @@ module.exports = async (client, userOpts) => {
log(`证书申请失败${e.message}`);
throw e;
}
}
}
finally {
log(`清理challenge痕迹length:${clearTasks.length}`);
try {
@ -262,7 +265,7 @@ module.exports = async (client, userOpts) => {
log(e);
}
}
}
log('challenge结束');
// log('[auto] Waiting for challenge valid status');