Skip to content

Commit 0c3fac9

Browse files
committed
fix: avoid error when domain does not exist in iana
We use iana registry to find if cloudflare nameserver is used for domain and we can avoid using www.
1 parent d184c16 commit 0c3fac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/domain/src/rdap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export const isDomainUsingCloudflareNameservers = async (domain: string) => {
8888

8989
const rdapServer = await findRdapServer(topLevelDomain);
9090
if (!rdapServer) {
91-
throw new Error(
91+
console.error(
9292
"RDAP Server for the given top level domain could not be found."
9393
);
9494
}

0 commit comments

Comments
 (0)