more logging
This commit is contained in:
@@ -16,6 +16,7 @@ async function GetAllRecords(domain) {
|
|||||||
|
|
||||||
const prefix = DomainToCoreDNS(domain) + "/";
|
const prefix = DomainToCoreDNS(domain) + "/";
|
||||||
if (!prefix) throw new Error("Invalid domain");
|
if (!prefix) throw new Error("Invalid domain");
|
||||||
|
console.log(`Prefix is ${prefix}`);
|
||||||
const kvs = await client.getAll().prefix(prefix).strings();
|
const kvs = await client.getAll().prefix(prefix).strings();
|
||||||
|
|
||||||
return kvs;
|
return kvs;
|
||||||
|
|||||||
Reference in New Issue
Block a user