Skip to content

Commit

Permalink
better error information
Browse files Browse the repository at this point in the history
  • Loading branch information
lochie committed Jun 3, 2024
1 parent 9b9bcf1 commit 115cf16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/connectkit/src/siwe/SIWEProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const SIWEProvider = ({
const { signMessageAsync } = useSignMessage();

const onError = (error: any) => {
console.error('signIn error', error.code, error.message);
console.error('signIn error', error, error.message);
switch (error.code) {
case -32000: // WalletConnect: user rejected
case 4001: // MetaMask: user rejected
Expand Down

0 comments on commit 115cf16

Please sign in to comment.