Skip to content

Commit 702ae6e

Browse files
committed
add error log
1 parent 078e570 commit 702ae6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/typink/src/providers/WalletSetupProvider.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ export function WalletSetupProvider({
119119
unsub = injected.accounts.subscribe(setAccounts);
120120

121121
setSigner(injected.signer as any);
122-
} catch {
122+
} catch (e) {
123+
console.error('Error while connecting wallet:', e);
123124
removeConnectedWalletId();
124125
}
125126
})();

0 commit comments

Comments
 (0)