pull/213/head
xiaojunnuo 2024-10-10 21:44:34 +08:00
parent 77cc3c4a5c
commit e9a285bd29
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ export class AliyunDnsProvider extends AbstractDnsProvider {
}
resolveError(e: any, req: CreateRecordOptions) {
if (e.Message.indexOf('The specified domain name does not exist') > -1) {
if (e.message?.indexOf('The specified domain name does not exist') > -1) {
throw new Error(`阿里云账号中不存在此域名:${req.domain}`);
}
throw e;