Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Move IDX errors to console.debug
Sebastian Martinez committed 4 years ago
commit 299e7a2c32ddd428d61ac4320a89c0dad8953098
parent 944bd669e893ec11b420cf4760de199e693839a9
1 file changed +4 -1
modified 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 };
      }
    }