diff --git a/web/src/api/rpc/beta2/certificates.tsx b/web/src/api/rpc/beta2/certificates.tsx index d54b2a3..d306d47 100644 --- a/web/src/api/rpc/beta2/certificates.tsx +++ b/web/src/api/rpc/beta2/certificates.tsx @@ -124,7 +124,9 @@ export const loadActiveCertificateAuto = async () => { const walletId = accounts?.[0].address; if (!walletId) { - throw new Error('Unable to fetch active certificate. Unable to determine wallet ID.'); + console.log('Unable to fetch active certificate. Unable to determine wallet ID.'); + + return { $type: 'Invalid Certificate' } as NoCertificate; } return loadActiveCertificate(walletId);