This commit is contained in:
Andras Bacsai
2022-05-06 11:53:53 +02:00
parent 8e53ae3484
commit 9e009bebaa
2 changed files with 4 additions and 5 deletions

View File

@@ -193,8 +193,7 @@ export async function isDNSValid(event: any, domain: string): Promise<any> {
}
} catch (error) {
throw {
message:
"Could not resolve domain or it's not pointing to the server IP address. <br><br>Please check your domain name and try again."
message: t.get('application.dns_not_set_error', { domain })
};
}
@@ -230,7 +229,7 @@ export async function checkDomainsIsValidInDNS({ event, fqdn, dualCerts }): Prom
}
} catch (error) {
throw {
message: t.get('application.dns_not_set_error', { domain: domain })
message: t.get('application.dns_not_set_error', { domain })
};
}