mirror of
https://github.com/certd/certd.git
synced 2026-07-12 08:17:32 +08:00
chore: 1
This commit is contained in:
@@ -199,7 +199,7 @@ export class AsiaIspClient {
|
|||||||
const list = await this.getCertList();
|
const list = await this.getCertList();
|
||||||
const found = list.find((item: any) => item.name === certName);
|
const found = list.find((item: any) => item.name === certName);
|
||||||
if (!found) {
|
if (!found) {
|
||||||
throw new Error(`证书已存在但无法查询到: ${certName}`);
|
throw new Error(`证书已存在但无法查询到: 请重新申请一份证书,或者将已有证书名称修改为:${certName}`);
|
||||||
}
|
}
|
||||||
const certId = Number(found.certId);
|
const certId = Number(found.certId);
|
||||||
this.logger.info(`复用已有证书,证书ID: ${certId}`);
|
this.logger.info(`复用已有证书,证书ID: ${certId}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user