diff --git a/src/profile.ts b/src/profile.ts index a62a88542..7860182bd 100644 --- a/src/profile.ts +++ b/src/profile.ts @@ -147,7 +147,10 @@ export class Profile { ); return { address, ens: null, idx }; } catch (e) { - console.error(e); + // Look for the No DID found for error by the resolveIdxProfile fn and send it to console.debug + if (e.message.match("No DID found for")) console.debug(e); + else console.error(e); + return { address, ens: null, idx: null }; } }