Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/model/domain_expiry.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.`);
Copy link

Copilot AI Jan 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's another similar warning message on line 51 that could benefit from the same clarity improvement. Currently it says "No RDAP server found, TLD ${tld} not supported." but it doesn't include the dot prefix for consistency. Consider updating it to match the new format: "Domain expiry unsupported for '.${tld}' because its RDAP endpoint is not listed in the IANA database."

Copilot uses AI. Check for mistakes.
return false;
}
const existing = await DomainExpiry.findByName(tld.domain);
Expand Down
Loading