Update domain expiry warning message to be more explicit about RDAP endpoint

Co-authored-by: CommanderStorm <26258709+CommanderStorm@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-01-06 19:26:01 +00:00
parent 4d001449a4
commit ac121ada4e

View File

@ -152,7 +152,7 @@ class DomainExpiry extends BeanModel {
const tld = parseTld(urlTypes.includes(m.type) ? m.url : m.type === "grpc-keyword" ? m.grpcUrl : m.hostname);
const rdap = await getRdapServer(tld.publicSuffix);
if (!rdap) {
log.warn("domain", `${tld.publicSuffix} is not supported. File a bug report if you believe it should be.`);
log.warn("domain", `Domain expiry unsupported for '.${tld.publicSuffix}' because its RDAP endpoint is not listed in the IANA database.`);
return false;
}
const existing = await DomainExpiry.findByName(tld.domain);