diff --git a/src/utils/nip05.ts b/src/utils/nip05.ts index 4fa38084..f885641e 100644 --- a/src/utils/nip05.ts +++ b/src/utils/nip05.ts @@ -29,7 +29,8 @@ async function lookup(value: string, opts: LookupOpts = {}): Promise { const result = lookup(value); nip05Cache.set(value, result); + result.then((result) => { + if (result) { + debug(`Found: ${value} is ${result}`); + } else { + debug(`Not found: ${value} is ${result}`); + } + }); + return result; }