mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 11:50:42 +08:00
Move IDX errors to console.debug
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
This commit is contained in:
+4
-1
@@ -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 };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user