blockchain-lab-um / masca

Snap for managing VCs and DIDs in MetaMask
https://masca.io
Apache License 2.0
51 stars 16 forks source link

[bug](snap): `queryCredential` fails if ceramic endpoint is not reachable #628

Open pseudobun opened 3 months ago

pseudobun commented 3 months ago

Describe the bug

When querying credentials, if ceramic endpoint doesn't work/is unreachable/returns 50x, the querying immediately stops.

To Reproduce

No response

Expected behavior

If ceramic is unreachable, the queryCredentials method should still query credentials from local storage.